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); + } +}