コード例 #1
0
        public async void GetInfo2Async_should_success(string jsonString)
        {
            //arrange
            var response = TestHelper.CreateJsonResponse(jsonString);

            var obj = new TradeApi(TestHelper.CreateApiClientWithMockHttpAccessor(response));

            //act
            var actual = await obj.GetInfo2Async();

            //assert
            Assert.NotNull(actual);
            Assert.IsAssignableFrom <GetInfo2Response>(actual);
        }