| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function canBeConstructedWithOnlyAnEmbed() |
||
| 31 | { |
||
| 32 | $relation = new Relation('self', null, 'foo'); |
||
| 33 | |||
| 34 | $this->assertSame('self', $relation->getName()); |
||
| 35 | $this->assertNull($relation->getHref()); |
||
| 36 | $this->assertEmpty($relation->getAttributes()); |
||
| 37 | $this->assertInstanceOf('Hateoas\Configuration\Embed', $relation->getEmbedded()); |
||
| 38 | $this->assertSame('foo', $relation->getEmbedded()->getContent()); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.