From ec2363c064c4c96018593da17df0a7960a75b7f2 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Mon, 25 Jan 2021 10:04:33 +0300 Subject: [PATCH] ClientConfigTest --- tests/ClientConfigTest.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/ClientConfigTest.php diff --git a/tests/ClientConfigTest.php b/tests/ClientConfigTest.php new file mode 100644 index 0000000..9e252d3 --- /dev/null +++ b/tests/ClientConfigTest.php @@ -0,0 +1,17 @@ +expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Client cannot enable both [snappy] and [deflate]'); + + new ClientConfig(deflate: true, snappy: true); + } +}