| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testConstructorWithOnlyRequiredArguments() { |
||
| 18 | $exception = new MissingAttributeException( 'attribute' ); |
||
| 19 | |||
| 20 | $this->assertSame( 'attribute', $exception->getAttributeName() ); |
||
| 21 | $this->assertSame( 'Attribute "attribute" is missing', $exception->getMessage() ); |
||
| 22 | $this->assertNull( $exception->getPrevious() ); |
||
| 23 | } |
||
| 24 | |||
| 35 |