public void comoDesenvolvedorQueroMeAutenticarNoServicoViaFacil() { //arrange IntegradorJBSSemParar.IntegradorJBS integradorJbs = new IntegradorJBSSemParar.IntegradorJBS(); //act var retorno = integradorJbs.AutenticarUsuario("02914460011276", "ADMINISTRADOR", "grupostp"); //assert Assert.IsTrue(retorno.sessao != 0); }
public void comoDesenvolvedorQueroRetornarStatusDeVeiculos() { //arrange IntegradorJBSSemParar.IntegradorJBS integradorJbs = new IntegradorJBSSemParar.IntegradorJBS(); //act var token = integradorJbs.AutenticarUsuario("02914460011276", "ADMINISTRADOR", "grupostp"); var retorno = integradorJbs.ConsultaStatusVeiculo(new IntegradorJBSSemParar.ServicoViaFacil.Veiculo { placa = "FHZ9752" }, token); //assert Assert.IsTrue(retorno.Count > 0); }