public async void DepositHistoryAsync_should_success(string jsonString, string currency, int?from, int?count, int?fromId, int?endId, string order, long?since, long?end) { //arrange var response = TestHelper.CreateJsonResponse(jsonString); var obj = new TradeApi(TestHelper.CreateApiClientWithMockHttpAccessor(response)); //act var actual = await obj.DepositHistoryAsync(currency, from, count, fromId, endId, order, since, end); //assert Assert.NotNull(actual); Assert.IsAssignableFrom <IDictionary <int, DepositHistoryResponse> >(actual); }