| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class ProtocolHeaderTest extends TestCase |
||
| 9 | { |
||
| 10 | public function testTypePropertyValidValues(): void |
||
| 11 | { |
||
| 12 | foreach ([0, 42, 65535] as $value) { |
||
| 13 | $this->assertSame((new ProtocolHeader($value))->getType(), $value); |
||
| 14 | } |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @expectedException \DaveRandom\LibLifxLan\Exceptions\InvalidValueException |
||
| 19 | */ |
||
| 20 | public function testTypePropertyValueTooLow(): void |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @expectedException \DaveRandom\LibLifxLan\Exceptions\InvalidValueException |
||
| 27 | */ |
||
| 28 | public function testTypePropertyValueTooHigh(): void |
||
| 33 |