| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function testOperatorException(): void |
||
| 19 | { |
||
| 20 | $mock = new Mock(); |
||
| 21 | $likeCondition = new LikeCondition('column', 'invalid', 'value'); |
||
| 22 | $this->expectException(InvalidArgumentException::class); |
||
| 23 | $this->expectExceptionMessage('Invalid operator in like condition: "INVALID"'); |
||
| 24 | (new LikeConditionBuilder($mock->queryBuilder()))->build($likeCondition); |
||
| 25 | } |
||
| 27 |