tests: add testNegotiationPayload
This commit is contained in:
@ -7,6 +7,11 @@ use PHPUnit\Framework\TestCase;
|
|||||||
|
|
||||||
final class ClientConfigTest extends TestCase
|
final class ClientConfigTest extends TestCase
|
||||||
{
|
{
|
||||||
|
public function testNegotiationPayload(): void
|
||||||
|
{
|
||||||
|
self::assertJson((new ClientConfig())->asNegotiationPayload());
|
||||||
|
}
|
||||||
|
|
||||||
public function testInvalidCompression(): void
|
public function testInvalidCompression(): void
|
||||||
{
|
{
|
||||||
$this->expectException(InvalidArgumentException::class);
|
$this->expectException(InvalidArgumentException::class);
|
||||||
|
Reference in New Issue
Block a user