public function testAttemptWorkWithoutWorker() { $ticket = new Ticket(); $this->setExpectedException('Exception', 'You cannot perform an action on this ticket until a worker is assigned.'); $ticket->setStatus(new Status(Status::CLOSED)); }
public function testAttemptWorkWithoutWorker() { $ticket = new Ticket(); $this->setExpectedException('Exception', 'You cannot perform an action on this ticket until a worker is assigned.'); $ticket->setStatus(new Status(Status::CLOSED)); }