|  | 
| 8 | 8 | use SimPod\ClickHouseClient\Format\Json; | 
| 9 | 9 | use SimPod\ClickHouseClient\Format\JsonCompact; | 
| 10 | 10 | use SimPod\ClickHouseClient\Format\JsonEachRow; | 
|  | 11 | +use SimPod\ClickHouseClient\Format\Null_; | 
| 11 | 12 | use SimPod\ClickHouseClient\Tests\TestCaseBase; | 
| 12 | 13 | use SimPod\ClickHouseClient\Tests\WithClient; | 
| 13 | 14 | 
 | 
|  | 
| 16 | 17 |  * @covers \SimPod\ClickHouseClient\Client\PsrClickHouseClient | 
| 17 | 18 |  * @covers \SimPod\ClickHouseClient\Exception\ServerError | 
| 18 | 19 |  * @covers \SimPod\ClickHouseClient\Format\Json | 
|  | 20 | + * @covers \SimPod\ClickHouseClient\Output\Json | 
| 19 | 21 |  * @covers \SimPod\ClickHouseClient\Format\JsonEachRow | 
|  | 22 | + * @covers \SimPod\ClickHouseClient\Output\JsonEachRow | 
| 20 | 23 |  * @covers \SimPod\ClickHouseClient\Format\JsonCompact | 
|  | 24 | + * @covers \SimPod\ClickHouseClient\Output\JsonCompact | 
|  | 25 | + * @covers \SimPod\ClickHouseClient\Format\Null_ | 
|  | 26 | + * @covers \SimPod\ClickHouseClient\Output\Null_ | 
| 21 | 27 |  */ | 
| 22 | 28 | final class SelectTest extends TestCaseBase | 
| 23 | 29 | { | 
| @@ -140,6 +146,14 @@ public function providerJsonEachRow(): iterable | 
| 140 | 146 |         ]; | 
| 141 | 147 |     } | 
| 142 | 148 | 
 | 
|  | 149 | +    public function testNull(): void | 
|  | 150 | +    { | 
|  | 151 | +        $client = $this->client; | 
|  | 152 | +        $client->select('SELECT 1', new Null_()); | 
|  | 153 | + | 
|  | 154 | +        self::assertTrue(true); | 
|  | 155 | +    } | 
|  | 156 | + | 
| 143 | 157 |     public function testSettingsArePassed(): void | 
| 144 | 158 |     { | 
| 145 | 159 |         self::expectException(ServerError::class); | 
|  | 
0 commit comments