public function testBadProject()
 {
     $action = new Action\TaskAssignSpecificUser(3, new Task($this->registry));
     $action->setParam('column_id', 5);
     $event = array('project_id' => 2, 'task_id' => 3, 'column_id' => 5);
     $this->assertFalse($action->isExecutable($event));
     $this->assertFalse($action->execute($event));
 }
 public function testBadProject()
 {
     $action = new Action\TaskAssignSpecificUser($this->container, 3, Task::EVENT_MOVE_COLUMN);
     $action->setParam('column_id', 5);
     $event = array('project_id' => 2, 'task_id' => 3, 'column_id' => 5);
     $this->assertFalse($action->isExecutable($event));
     $this->assertFalse($action->execute(new GenericEvent($event)));
 }