| Total Complexity | 6 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1);  | 
            ||
| 14 | final class BooleanTest extends TestCase  | 
            ||
| 15 | { | 
            ||
| 16 | 1 | public function testToNative(): void  | 
            |
| 17 |     { | 
            ||
| 18 | 1 | $this->assertTrue(BoolValue::fromNative(true)->toNative());  | 
            |
| 19 | 1 | $this->assertFalse(BoolValue::fromNative(false)->toNative());  | 
            |
| 20 | 1 | }  | 
            |
| 21 | |||
| 22 | 1 | public function testEquals(): void  | 
            |
| 23 |     { | 
            ||
| 24 | 1 | $bool = BoolValue::fromNative(true);  | 
            |
| 25 | 1 | $this->assertTrue($bool->equals(BoolValue::fromNative(true)));  | 
            |
| 26 | 1 | $this->assertFalse($bool->equals(BoolValue::fromNative(false)));  | 
            |
| 27 | 1 | }  | 
            |
| 28 | |||
| 29 | 1 | public function testIsTrue(): void  | 
            |
| 30 |     { | 
            ||
| 31 | 1 | $this->assertTrue(BoolValue::fromNative(true)->isTrue());  | 
            |
| 32 | 1 | }  | 
            |
| 33 | |||
| 34 | 1 | public function testIsFalse(): void  | 
            |
| 37 | 1 | }  | 
            |
| 38 | |||
| 39 | 1 | public function testNegate(): void  | 
            |
| 40 |     { | 
            ||
| 41 | 1 | $this->assertTrue(BoolValue::fromNative(false)->negate()->toNative());  | 
            |
| 42 | 1 | }  | 
            |
| 43 | |||
| 44 | 1 | public function testToString(): void  | 
            |
| 48 | 1 | }  | 
            |
| 49 | }  | 
            ||
| 50 |