| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class BetweenColumnsConditionTest extends TestCase |
||
| 15 | { |
||
| 16 | public function testConstructor(): void |
||
| 17 | { |
||
| 18 | $condition = new BetweenColumnsCondition(42, 'BETWEEN', 'min_value', 'max_value'); |
||
| 19 | $this->assertSame(42, $condition->getValue()); |
||
| 20 | $this->assertSame('BETWEEN', $condition->getOperator()); |
||
| 21 | $this->assertSame('min_value', $condition->getIntervalStartColumn()); |
||
| 22 | $this->assertSame('max_value', $condition->getIntervalEndColumn()); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testException(): void |
||
| 30 | } |
||
| 31 | } |
||
| 32 |