| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testVerify() |
||
| 18 | { |
||
| 19 | self::assertSame('foo', Prefix::verify('foo')); |
||
| 20 | |||
| 21 | $this->expectException('UnexpectedValueException'); |
||
| 22 | $this->expectExceptionMessage('invalid prefix: "p"; a prefix is only lower-case letters with a minimum length of three characters'); |
||
| 23 | Prefix::verify('p'); |
||
| 24 | } |
||
| 32 |