| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class NotTest extends TestCase |
||
| 9 | { |
||
| 10 | public function testNotTrue() |
||
| 11 | { |
||
| 12 | $value = true; |
||
| 13 | $actual = not()($value); |
||
| 14 | $this->assertFalse($actual); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function testNotFalse() |
||
| 22 | } |
||
| 23 | |||
| 24 | public function testNotNull() |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testNotEmptyString() |
||
| 32 | { |
||
| 33 | $value = ''; |
||
| 34 | $actual = not()($value); |
||
| 35 | $this->assertTrue($actual); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function testNotObject() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |