public async Task TesteConsultaListaInvalidos() { var servicos = new ServicoEnderecos(); var listaEnderecos = await servicos.Buscar(UF.RS, "Test", "Ferreira"); listaEnderecos.Should().BeEmpty(); }
public async Task TesteConsultaListaEnderecos() { var servicos = new ServicoEnderecos(); var listaEnderecos = await servicos.Buscar(UF.RS, "Pelotas", "Ferreira"); listaEnderecos.Count().Should().Be(11); }
public void TesteConsultaListaInvalidos() { var servicos = new ServicoEnderecos(); var listaEnderecos = servicos.Buscar(UF.RS, "Test", "Ferreira"); Assert.AreEqual(0, listaEnderecos.ToList().Count); }