expectException(InvalidArgumentException::class); $this->expectExceptionMessage('Client cannot enable both [snappy] and [deflate]'); new ClientConfig(deflate: true, snappy: true); } }