@@ -256,6 +256,9 @@ |
||
256 | 256 | $addPluginReflection->invoke($this->composer->getPluginManager(), $plugin); |
257 | 257 | } |
258 | 258 | |
259 | + /** |
|
260 | + * @param string $expectedOutput |
|
261 | + */ |
|
259 | 262 | private function assertSameOutput($expectedOutput, $message = '') |
260 | 263 | { |
261 | 264 | $this->assertSame($expectedOutput, $this->io->getOutput(), $message); |
@@ -5,6 +5,10 @@ |
||
5 | 5 | // PHPUnit >=6 Backward Compatibility |
6 | 6 | if (class_exists('\PHPUnit\Framework\TestCase')) { |
7 | 7 | abstract class TestCase extends \PHPUnit\Framework\TestCase { |
8 | + |
|
9 | + /** |
|
10 | + * @param string $class |
|
11 | + */ |
|
8 | 12 | public function getMock($class) { |
9 | 13 | return $this->getMockBuilder($class)->getMock(); |
10 | 14 | } |