Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function testConstructorWithAllArguments() { |
||
26 | $previous = new Exception( 'previous' ); |
||
27 | $exception = new MissingAttributeException( 'attribute', 'customMessage', $previous ); |
||
28 | |||
29 | $this->assertSame( 'attribute', $exception->getAttributeName() ); |
||
30 | $this->assertSame( 'customMessage', $exception->getMessage() ); |
||
31 | $this->assertSame( $previous, $exception->getPrevious() ); |
||
32 | } |
||
33 | |||
35 |