Пример #1
0
        public void PruebaParaValidarQueSeEncuentraUnEstado3()
        {
            // Arrange
            var status = new Status();
            var id     = new int();

            status = null;
            // Act
            var statusDomainService = new StatusDomainService();
            var resultado           = statusDomainService.DeleteStatusDomainService(id, status);

            // Assert
            Assert.AreEqual("No se encontro este Estado", resultado);
        }
Пример #2
0
        public void WhenEliminarElEstado()
        {
            var statusDomainService = new StatusDomainService();

            _resultado = statusDomainService.DeleteStatusDomainService(id, _status);
        }
Пример #3
0
        public void WhenBuscarElEstado()
        {
            var statusDomainService = new StatusDomainService();

            _resultado = statusDomainService.GetStatusDomainService(id, _status);
        }
Пример #4
0
        public void WhenActualizarElEstado()
        {
            var statusDomainService = new StatusDomainService();

            _resultado = statusDomainService.PutStatusDomainService(id, _status);
        }
Пример #5
0
 public StatusAppService(CarToGoDataContext _context, StatusDomainService statusDomainService)
 {
     _baseDatos           = _context;
     _statusDomainService = statusDomainService;
 }