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 ); |
||
9 | public function testSetGetOutput () : void |
||
10 | { |
||
11 | $databaseOutput = new DatabaseOutput(); |
||
12 | |||
13 | $givenOutput = $this->createMock( Connector::class ); |
||
14 | $expectedOutput = $this->createMock( Connector::class ); |
||
15 | |||
16 | $databaseOutput->setOutput( $givenOutput ); |
||
17 | |||
18 | $this->assertEquals( $expectedOutput, $databaseOutput->getOutput() ); |
||
19 | } |
||
21 |