/** * @expectedException \Gasp\Exception */ public function testAttemptingToSetInvalidOptionThrowsException() { $task = new Lint(); $task->setOptions(['fafafafa' => true]); }