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); }