| Total Complexity | 2 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class EasyConnectStringTest extends TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param mixed[] $params |
||
| 12 | * @dataProvider connectionParametersProvider |
||
| 13 | */ |
||
| 14 | public function testFromConnectionParameters(array $params, string $expected) : void |
||
| 15 | { |
||
| 16 | $string = EasyConnectString::fromConnectionParameters($params); |
||
| 17 | |||
| 18 | $this->assertSame($expected, (string) $string); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return mixed[] |
||
| 23 | */ |
||
| 24 | public static function connectionParametersProvider() : iterable |
||
| 58 | ], |
||
| 59 | ]; |
||
| 62 |