示例#1
0
        public void TestGetOneObject()
        {
            var client      = new RegistrationApiClient(apikey, url: testServer);
            var objectArray = client.GetObjects(Guid.Parse("d743ba92-198f-4870-8575-679e5df4b203")).Result;

            Assert.That(objectArray.Count, Is.EqualTo(1));
        }
示例#2
0
        public void TestGetAllObjects()
        {
            var client      = new RegistrationApiClient(apikey, url: testServer);
            var objectArray = client.GetObjects().Result;

            Assert.That(objectArray.Count, Is.GreaterThan(1));
        }