Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function testConstructorWithAllArguments() { |
||
28 | $previous = new Exception( 'previous' ); |
||
29 | $exception = new InvalidAttributeException( 'attribute', 'value', 'customMessage', |
||
30 | $previous ); |
||
31 | |||
32 | $this->assertSame( 'attribute', $exception->getAttributeName() ); |
||
33 | $this->assertSame( 'value', $exception->getAttributeValue() ); |
||
34 | $this->assertSame( 'customMessage', $exception->getMessage() ); |
||
35 | $this->assertSame( $previous, $exception->getPrevious() ); |
||
36 | } |
||
37 | |||
39 |