/** * @expectedException \phpbu\App\Exception */ public function testGetOptionsLongUnknownOption() { $args = new Args(); $options = $args->getOptions(array('--foo')); $this->assertTrue(false, 'should not be called'); }