|
@@ 138-147 (lines=10) @@
|
| 135 |
|
} |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
protected function checkAllMethods(ArrayCollection $methods) |
| 139 |
|
{ |
| 140 |
|
foreach ($methods as $method) { |
| 141 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items\MethodManager", $method); |
| 142 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Interfaces\RenderableInterface", $method); |
| 143 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Interfaces\MethodInterface", $method); |
| 144 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items\PropertyManager", $method->getProperty()); |
| 145 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items\ClassManager", $method->getClassManager()); |
| 146 |
|
} |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
protected function checkAllTestMethods(ArrayCollection $methods) |
| 150 |
|
{ |
|
@@ 149-157 (lines=9) @@
|
| 146 |
|
} |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
protected function checkAllTestMethods(ArrayCollection $methods) |
| 150 |
|
{ |
| 151 |
|
foreach ($methods as $method) { |
| 152 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items\TestMethodManager", $method); |
| 153 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Interfaces\RenderableInterface", $method); |
| 154 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Interfaces\MethodInterface", $method); |
| 155 |
|
$this->assertInstanceOf("\HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items\MethodManager", $method->getMethod()); |
| 156 |
|
} |
| 157 |
|
} |
| 158 |
|
} |
| 159 |
|
|