| 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 ); |
||
| 16 | public function testSetGetOutput () : void |
||
| 17 | { |
||
| 18 | $databaseOutput = new DatabaseOutput(); |
||
| 19 | |||
| 20 | $givenOutput = $this->createMock( Connector::class ); |
||
| 21 | $expectedOutput = $this->createMock( Connector::class ); |
||
| 22 | |||
| 23 | $databaseOutput->setOutput( $givenOutput ); |
||
| 24 | |||
| 25 | $this->assertEquals( [ $expectedOutput ], $databaseOutput->getOutput() ); |
||
| 26 | } |
||
| 28 |