| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testConstructorWithOnlyRequiredArguments() { |
||
| 18 | $exception = new InvalidAttributeException( 'attribute', 'value' ); |
||
| 19 | |||
| 20 | $this->assertSame( 'attribute', $exception->getAttributeName() ); |
||
| 21 | $this->assertSame( 'value', $exception->getAttributeValue() ); |
||
| 22 | $this->assertSame( 'Attribute "attribute" with value "value" is invalid', |
||
| 23 | $exception->getMessage() ); |
||
| 24 | $this->assertNull( $exception->getPrevious() ); |
||
| 25 | } |
||
| 26 | |||
| 39 |