@@ -29,6 +29,9 @@ discard block |
||
| 29 | 29 | ]; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @param string $name |
|
| 34 | + */ |
|
| 32 | 35 | protected function assertCommandIsFound($name, $class) |
| 33 | 36 | { |
| 34 | 37 | $command = $this->application->find($name); |
@@ -59,6 +62,9 @@ discard block |
||
| 59 | 62 | $this->assertInstanceOf($class, $frameworkApplication->find($name)); |
| 60 | 63 | } |
| 61 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $name |
|
| 67 | + */ |
|
| 62 | 68 | public function assertIsContainerAware($name, $class) |
| 63 | 69 | { |
| 64 | 70 | self::assertInstanceOf( |
@@ -68,6 +74,9 @@ discard block |
||
| 68 | 74 | ); |
| 69 | 75 | } |
| 70 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $name |
|
| 79 | + */ |
|
| 71 | 80 | public function assertContainerWasInjectedToService($name, $class) |
| 72 | 81 | { |
| 73 | 82 | $this->application->add(new $class($this->config)); |