public async Task DeveObterEnderecoComoPipedAsync() { var pipedEndereco = await _viaCep.ObterEnderecoComoPipedAsync("01001000"); Assert.True(pipedEndereco.Contains("cep:01001-000")); pipedEndereco = await _viaCep.ObterEnderecoComoPipedAsync("01001-000"); Assert.True(pipedEndereco.Contains("cep:01001-000")); }
public async Task <string> ComoPipedAsync() => await _viaCep.ObterEnderecoComoPipedAsync(_cep);