예제 #1
0
        public void Post_Deve_Retornar_Sucesso()
        {
            var result = _serviceAgent.Post("Teste unitario com sucesso").Result;

            Assert.IsTrue(result);
        }
예제 #2
0
 public bool Logar(string mensgem, TipoLog tipo)
 {
     return(_tiposLogsDisponiveis.Contains(tipo) && Task.Run(async() => await _serviceAgent.Post(mensgem)).Result);
 }