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); }
public void WhenEliminarElEstado() { var statusDomainService = new StatusDomainService(); _resultado = statusDomainService.DeleteStatusDomainService(id, _status); }
public void WhenBuscarElEstado() { var statusDomainService = new StatusDomainService(); _resultado = statusDomainService.GetStatusDomainService(id, _status); }
public void WhenActualizarElEstado() { var statusDomainService = new StatusDomainService(); _resultado = statusDomainService.PutStatusDomainService(id, _status); }
public StatusAppService(CarToGoDataContext _context, StatusDomainService statusDomainService) { _baseDatos = _context; _statusDomainService = statusDomainService; }