public void Post_Deve_Retornar_Sucesso() { var result = _serviceAgent.Post("Teste unitario com sucesso").Result; Assert.IsTrue(result); }
public bool Logar(string mensgem, TipoLog tipo) { return(_tiposLogsDisponiveis.Contains(tipo) && Task.Run(async() => await _serviceAgent.Post(mensgem)).Result); }