public function testTestCreateNewException()
{
$exception = FlagParserExceptionFactory::createForNoParserFoundForElement('foo');
$this->assertEquals('No suitable flag parser found to handle the element "foo".', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}