Beispiel #1
0
        public void FindUserByEmailTest()
        {
            var mockService = new Mock <ILoggingService>();//Mock

            var okResult = _us.FindUserByEmail("");

            Assert.IsNotNull(okResult.Result);
        }
        public void UsuariosControllerBuscarPorEmail()
        {
            // Act
            var okResult = _controller.FindUserByEmail("*****@*****.**");

            // Assert
            Assert.IsNotType <BadRequestResult>(okResult.Result);
        }