/** * @test */ public function testConstructWithId() { $item = new Tag($this->dummyTagEntity, '1', 'tag test'); $this->assertEquals('1', $item->getId(), 'The Id attribute can not created correctly'); }