diff --git a/test/ClientTest.php b/test/ClientTest.php index ab91b1f..19e68bb 100644 --- a/test/ClientTest.php +++ b/test/ClientTest.php @@ -54,6 +54,15 @@ public function testConnect() $this->assertFalse($client->isConnected()); } + public function testConnectWithInvalidClientProperties() + { + $this->expectException(\InvalidArgumentException::class); + + $this->helper->createClient([ + 'client_properties' => 'not an array' + ]); + } + public function testConnectFailure() { $this->expectException(ClientException::class);