/**
  * @test
  * @dataProvider notMatchingApplicationContextConditionsDataProvider
  */
 public function evaluateConditionCommonReturnsNullForNotMatchingApplicationContexts($notMatchingApplicationContextCondition)
 {
     /** @var \TYPO3\CMS\Core\Core\ApplicationContext $applicationContext */
     $applicationContext = new ApplicationContext('Production/Staging/Server2');
     Fixtures\GeneralUtilityFixture::setApplicationContext($applicationContext);
     $this->assertFalse($this->evaluateConditionCommonMethod->invokeArgs($this->conditionMatcher, array('applicationContext', $notMatchingApplicationContextCondition)));
 }
 /**
  * @test
  * @dataProvider notMatchingApplicationContextConditionsDataProvider
  */
 public function evaluateConditionCommonReturnsNullForNotMatchingApplicationContexts($notMatchingApplicationContextCondition)
 {
     /** @var \TYPO3\CMS\Core\Core\ApplicationContext $applicationContext */
     $applicationContext = new ApplicationContext('Production/Staging/Server2');
     Fixtures\GeneralUtilityFixture::setApplicationContext($applicationContext);
     /** @var \TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface $abstractConditionMatcherMock */
     $abstractConditionMatcherMock = $this->getMockForAbstractClass('TYPO3\\CMS\\Core\\Configuration\\TypoScript\\ConditionMatching\\AbstractConditionMatcher', array(), '', TRUE, TRUE, TRUE, array('evaluateConditionCommon'));
     $method = new \ReflectionMethod('TYPO3\\CMS\\Core\\Configuration\\TypoScript\\ConditionMatching\\AbstractConditionMatcher', 'evaluateConditionCommon');
     $method->setAccessible(TRUE);
     $this->assertNull($method->invokeArgs($abstractConditionMatcherMock, array('applicationContext', $notMatchingApplicationContextCondition)));
 }