Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
37 | public function testFromArrayDefinitionExceptionCondition(): void |
||
38 | { |
||
39 | $this->expectException(InvalidArgumentException::class); |
||
40 | $this->expectExceptionMessage( |
||
41 | "Operator 'NOT' requires condition to be array, string, null or ExpressionInterface." |
||
42 | ); |
||
43 | NotCondition::fromArrayDefinition('NOT', [false]); |
||
44 | } |
||
46 |