Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare( strict_types = 1 ); |
||
11 | public function testSetAndGetConnector () : void |
||
12 | { |
||
13 | $expectedMySqlConnector = new MySqlConnector(); |
||
14 | |||
15 | $databaseLoader = new DatabaseLoader(); |
||
16 | $databaseLoader->setConnector( $expectedMySqlConnector ); |
||
17 | |||
18 | $this->assertSame( $expectedMySqlConnector, $databaseLoader->getConnector() ); |
||
19 | } |
||
21 |