33 $service = new \TYPO3\CMS\Extbase\Reflection\ReflectionService();
34 $this->assertTrue($service->hasMethod(get_class($this),
'fixtureMethodForMethodTagsValues'));
35 $this->assertFalse($service->hasMethod(get_class($this),
'notExistentMethod'));
42 $service = new \TYPO3\CMS\Extbase\Reflection\ReflectionService();
43 $tagsValues = $service->getMethodTagsValues(get_class($this),
'fixtureMethodForMethodTagsValues');
44 $this->assertEquals(array(
45 'param' => array(
'array $foo The foo parameter'),
46 'return' => array(
'void')
54 $service = new \TYPO3\CMS\Extbase\Reflection\ReflectionService();
55 $parameters = $service->getMethodParameters(get_class($this),
'fixtureMethodForMethodTagsValues');
56 $this->assertEquals(array(
59 'byReference' => FALSE,
62 'allowsNull' => FALSE,
fixtureMethodForMethodTagsValues(array $foo)