Exemplo n.º 1
0
        public async void GetIdInfoAsync_should_success(string jsonString)
        {
            //arrange
            var response = TestHelper.CreateJsonResponse(jsonString);

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

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

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