Beispiel #1
0
        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);
        }
Beispiel #2
0
 public void GetConfigurationForEarlyTimestampTest()
 {
     RemoteFetchClient client = new RemoteFetchClient(new Uri(serviceUri));
     var latestConfig         = client.GetConfiguration(new DateTime(1950, 1, 1));
 }