[FEATURE] Support @Flow\Inject annotations in Extbase
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Object / Container / ClassInfoFactoryTest.php
index ac6d1a6..31ad1c6 100644 (file)
@@ -66,7 +66,13 @@ class ClassInfoFactoryTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
         */
        public function buildClassInfoDetectsPropertiesToInjectByAnnotation() {
                $classInfo = $this->classInfoFactory->buildClassInfoFromClassName('TYPO3\\CMS\\Extbase\\Tests\\Fixture\\ClassWithInjectProperties');
         */
        public function buildClassInfoDetectsPropertiesToInjectByAnnotation() {
                $classInfo = $this->classInfoFactory->buildClassInfoFromClassName('TYPO3\\CMS\\Extbase\\Tests\\Fixture\\ClassWithInjectProperties');
-               $this->assertEquals(array('secondDummyClass' => 'TYPO3\\CMS\\Extbase\\Tests\\Fixture\\SecondDummyClass'), $classInfo->getInjectProperties());
+               $this->assertEquals(
+                       array(
+                               'secondDummyClass' => 'TYPO3\\CMS\\Extbase\\Tests\\Fixture\\SecondDummyClass',
+                               'secondDummyClassWithFlowInject' => 'TYPO3\\CMS\\Extbase\\Tests\\Fixture\\SecondDummyClass'
+                       ),
+                       $classInfo->getInjectProperties()
+               );
        }
 
        /**
        }
 
        /**