public static void AssertLanguage (Language expected, Language actual)
		{
			AssertNullOrNotNull (expected, actual);
			Assert.AreEqual (expected.Id, actual.Id);
			Assert.AreEqual (expected.ShortName, actual.ShortName);
			Assert.AreEqual (expected.Name, actual.Name);
			Assert.AreEqual (expected.IconPath, actual.IconPath);
		}
		public void BeforeAll ()
		{
			_container = Platform.Setup.CreateContainer ();
			Assert.True (_container.TryResolve (out _networkService)); //TODO use different url
			_language = new Language{ ShortName = "de" };
			_location = new Location { Path = "/wordpress/augsburg/" };
			_updateTime = new UpdateTime (0);
		}
		public void Setup ()
		{
			_language = Mocks.Language;
			_location = Mocks.Location;
			_persistenceService.Init ();
		}
 public Task<Collection<EventPage>> GetEventPages(Language language, Location location, UpdateTime time)
 {
     return _networkService.GetEventPages(language, location, time).DefaultIfFaulted(new Collection<EventPage>());
 }
 public Task<HttpResponseMessage> GetPagesDebug(Language language, Location location, UpdateTime time)
 {
     return _networkService.GetPagesDebug(language, location, time).DefaultIfFaulted();
 }
 public Task<Collection<Disclaimer>> GetDisclaimers(Language language, Location location, UpdateTime time)
 {
     return _networkService.GetDisclaimers(language, location, time).DefaultIfFaulted(new Collection<Disclaimer>());
 }