/** * @test */ public function isTagIgnoredWorksWithOldConfiguration() { $settings = array('reflection' => array('ignoredTags' => array('ignored'))); $this->reflectionService->injectSettings($settings); $this->assertTrue($this->reflectionService->_call('isTagIgnored', 'ignored')); $this->assertFalse($this->reflectionService->_call('isTagIgnored', 'notignored')); }
/** * @test * @expectedException \TYPO3\Flow\Reflection\Exception\ClassLoadingForReflectionFailedException */ public function reflectClassThrowsExceptionForClassesWithNoMatchingFilename() { $this->reflectionService->_call('reflectClass', 'TYPO3\\Flow\\Tests\\Unit\\Reflection\\Fixture\\ClassWithDifferentNameDifferent'); }