public function testGetKey() { $entityData = new EntityData('book', '12345', '<xml>...</xml>'); $this->assertEquals('book.12345', $entityData->getKey()); }
public function updateEntityData(EntityData $entityData) { $this->entityData[$entityData->getKey()] = $entityData; }