Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function testCanConstructItems() { |
||
20 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new Berlin() )->newItem() ); |
||
21 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new Germany() )->newItem() ); |
||
22 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new State() )->newItem() ); |
||
23 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new Wikidata() )->newItem() ); |
||
24 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new WikimediaProject() )->newItem() ); |
||
25 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new KnowledgeBase() )->newItem() ); |
||
26 | $this->assertInstanceOf( 'Wikibase\DataModel\Entity\Item', ( new OnlineDatabase() )->newItem() ); |
||
27 | } |
||
28 | |||
30 |