public function testConstructor() { $entityData = new EntityData('book', '12345', '<xml>...</xml>'); $this->assertEquals('book', $entityData->getEntityName()); $this->assertEquals('12345', $entityData->getEntityId()); $this->assertEquals('<xml>...</xml>', $entityData->getData()); }