| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 81.25% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 15 | final class Elasticsearch7QueryTest extends TestCase |
||
| 16 | { |
||
| 17 | 1 | public function testFromNativeWithNullQuery(): void |
|
| 18 | { |
||
| 19 | 1 | $this->expectException(InvalidArgumentException::class); |
|
| 20 | /** @psalm-suppress NullArgument */ |
||
| 21 | 1 | Elasticsearch7Query::fromNative(null); |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function testFromNativeWithStringQuery(): void |
|
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function testFromNativeWithEmpty(): void |
|
| 35 | } |
||
| 36 | |||
| 37 | 1 | public function testToNative(): void |
|
| 44 |