Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare( strict_types = 1 ); |
||
19 | public function testSetAndGetOutput () : void |
||
20 | { |
||
21 | $expectedConnector = $this->createMock( Connector::class ); |
||
22 | |||
23 | $databaseOutput = new DatabaseOutput( $expectedConnector ); |
||
24 | |||
25 | $databaseLoader = new DatabaseLoader(); |
||
26 | $databaseLoader->setOutput( $databaseOutput ); |
||
27 | |||
28 | $this->assertSame( $databaseOutput, $databaseLoader->getOutput() ); |
||
29 | } |
||
31 |