Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare( strict_types = 1 ); |
||
11 | class ClientServerDatabaseConnectorTest extends TestCase |
||
12 | { |
||
13 | /** |
||
14 | * |
||
15 | */ |
||
16 | public function testSetGetHost () : void |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * |
||
30 | */ |
||
31 | public function testSetGetPort () : void |
||
32 | { |
||
33 | $connector = new MySqlConnector(); |
||
34 | |||
35 | $given = 3306; |
||
36 | $expected = 3306; |
||
37 | |||
38 | $connector->setPort( $given ); |
||
39 | |||
40 | $this->assertEquals( $expected, $connector->getPort() ); |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * |
||
45 | */ |
||
46 | public function testSetGetDbName () : void |
||
56 | } |
||
57 | } |
||
58 |