コード例 #1
0
ファイル: APIGetTests.cs プロジェクト: varumug/Ed-Fi-ODS-1
        public async Task GetSkipLimitTest_should_retrieve_second_objectAsync()
        {
            var dictionary = new Dictionary <string, JArray> {
                [ResourceName] = _data
            };

            var configuration = Mock.Of <IApiConfiguration>(cfg => cfg.Url == Address);
            var subject       = new GetAllSkipLimitTest(_resource, dictionary, configuration, tokenHandler);
            var result        = await subject.PerformTest();

            Assert.IsTrue(result);
        }
コード例 #2
0
        public void GetSkipLimitTest_should_retrieve_second_object()
        {
            var dictionary = new Dictionary <string, JArray>
            {
                [ResourceName] = _data
            };

            var subject = new GetAllSkipLimitTest(_resource, dictionary, _configuration, tokenHandler);
            var result  = subject.PerformTest().Result;

            Assert.IsTrue(result);
        }