예제 #1
0
        public async Task Should_Return_A_Valid_Address_Async()
        {
            var cep = new CepSearch();

            var result = await cep.GetAddressByCepAsync(FakeData.validCep);

            Assert.IsNotNull(result);
            Assert.IsInstanceOf <ResponseAddress>(result);
        }
예제 #2
0
        public async Task Should_Return_A_Valid_Address_Async()
        {
            var result = await cep.GetAddressByCepAsync(validCep);

            Assert.IsNotNull(result);
        }