| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testIsSerializerFor() { |
||
| 17 | $serializer = new SerializedEntitySerializer(); |
||
| 18 | |||
| 19 | $this->assertTrue( $serializer->isSerializerFor( new SerializedEntity( null, [ 'type' => 'item' ] ) ) ); |
||
| 20 | $this->assertFalse( $serializer->isSerializerFor( null ) ); |
||
| 21 | $this->assertFalse( $serializer->isSerializerFor( new Item() ) ); |
||
| 22 | } |
||
| 23 | |||
| 40 |