Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function testInitialiaseConsoleBase() |
||
19 | { |
||
20 | $application = (new Scaffold)->getApplication(); |
||
21 | |||
22 | $consoleBase = new ConsoleBase($application); |
||
23 | |||
24 | $this->assertSame($application, $consoleBase->getApplication()); |
||
25 | $newApplication = clone $application; |
||
26 | $consoleBase->setApplication($newApplication); |
||
27 | $this->assertNotSame($application, $consoleBase->getApplication()); |
||
28 | } |
||
29 | } |
||
30 |