| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 19 | class BootstrapCreatorTest extends TestCase |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @test |
||
| 23 | */ |
||
| 24 | public function itCanCreateTheBootstrap() |
||
| 25 | { |
||
| 26 | $expected = \ts\file_get_contents(__DIR__ . '/../../../../../codeTemplates/tests/bootstrap.php'); |
||
| 27 | $actual = $this->getCreator()->createTargetFileObject()->getTargetFile()->getContents(); |
||
| 28 | self::assertSame($expected, $actual); |
||
| 29 | } |
||
| 30 | |||
| 31 | private function getCreator(): BootstrapCreator |
||
| 46 | } |
||
| 47 | } |
||
| 48 |