Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testConstructor() |
||
14 | { |
||
15 | $badAlias = 'toBeAnExpectationThatDoesntExist'; |
||
16 | $exception = new ExpectationNotFoundException($badAlias); |
||
17 | |||
18 | $this->assertInstanceOf('\OutOfBoundsException', $exception); |
||
19 | $this->assertEquals($exception->getMessage(), 'Expectation with ' . $badAlias . ' could not be found.'); |
||
20 | } |
||
21 | } |
||
22 |