public function testInvalidOptionException() { $e = new InvalidOptionException('foo'); $this->assertEquals('The format of the option "foo" is invalid', $e->getMessage(), 'A message should be generated'); }