public void GetConfigurationTest() { RemoteFetchClient client = new RemoteFetchClient(new Uri(serviceUri)); var latestConfig = client.GetConfiguration(DateTime.MaxValue); var latestConfig2 = client.GetConfiguration(latestConfig.TimeStamp); Assert.AreEqual(latestConfig, latestConfig2); }
public void GetConfigurationForEarlyTimestampTest() { RemoteFetchClient client = new RemoteFetchClient(new Uri(serviceUri)); var latestConfig = client.GetConfiguration(new DateTime(1950, 1, 1)); }