1 | <?php |
||
11 | class RegistryTest extends TestCase |
||
12 | { |
||
13 | /** |
||
14 | * @return void |
||
15 | */ |
||
16 | public function testIfRegistryGetsConstructedWithConnections(): void |
||
45 | |||
46 | /** |
||
47 | * @expectedException \TBolier\RethinkQL\Connection\ConnectionException |
||
48 | * @expectedExceptionMessage The connection fooConnection has already been added |
||
49 | * @expectedExceptionCode 400 |
||
50 | * @return void |
||
51 | */ |
||
52 | public function testIfExceptionThrownOnDuplicateConnection(): void |
||
68 | |||
69 | /** |
||
70 | * @expectedException \TBolier\RethinkQL\Connection\ConnectionException |
||
71 | * @expectedExceptionMessage The connection fooConnection does not exist |
||
72 | * @expectedExceptionCode 400 |
||
73 | * @return void |
||
74 | */ |
||
75 | public function testIfExceptionThrownOnMissingConnection(): void |
||
81 | } |
||
82 |