Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare( strict_types = 1 ); |
||
7 | use PHPUnit\Framework\TestCase; |
||
8 | |||
9 | class DatabaseOutputTests extends TestCase |
||
10 | { |
||
11 | public function testSetGetOutput () : void |
||
12 | { |
||
13 | $databaseOutput = new DatabaseOutput(); |
||
14 | |||
15 | $givenOutput = $this->createMock( Connector::class ); |
||
16 | $expectedOutput = $this->createMock( Connector::class ); |
||
17 | |||
18 | $databaseOutput->setOutput( $givenOutput ); |
||
19 | |||
23 |