public void DeleteDireccionInvalido()
        {
            //Arrange
            int idDireccion = 0;

            DireccionService service = new DireccionService(_repository.Object, _query.Object);

            //Act
            var result = service.DeleteDireccion(idDireccion);

            //Assert
            Assert.IsNull(result);
        }
        public void DeleteDireccionValido()
        {
            //Arrange
            int idDireccion = new Random().Next(1, 100);

            _repository.Setup(_ => _.FindById(It.IsAny <int>())).Returns(new Direccion());
            DireccionService service = new DireccionService(_repository.Object, _query.Object);

            //Act
            var result = service.DeleteDireccion(idDireccion);

            //Assert
            Assert.IsNotNull(result);
        }