/**
  * @test
  * @expectedException \TYPO3\Flow\Aop\Exception\InvalidPointcutExpressionException
  */
 public function filterThrowsAnExceptionForAnIncorectCondition()
 {
     $mockConfigurationManager = $this->getMock(\TYPO3\Flow\Configuration\ConfigurationManager::class, array(), array(), '', false);
     $settings['foo']['bar']['baz']['value'] = 'option value';
     $filter = new \TYPO3\Flow\Aop\Pointcut\PointcutSettingFilter('package.foo.bar.baz.value = "forgot to close quotes');
     $filter->injectConfigurationManager($mockConfigurationManager);
 }
 /**
  * @test
  * @expectedException \TYPO3\Flow\Aop\Exception\InvalidPointcutExpressionException
  */
 public function filterThrowsAnExceptionForAnIncorectCondition()
 {
     $mockConfigurationManager = $this->getMockBuilder(\TYPO3\Flow\Configuration\ConfigurationManager::class)->disableOriginalConstructor()->getMock();
     $settings['foo']['bar']['baz']['value'] = 'option value';
     $filter = new \TYPO3\Flow\Aop\Pointcut\PointcutSettingFilter('package.foo.bar.baz.value = "forgot to close quotes');
     $filter->injectConfigurationManager($mockConfigurationManager);
 }