Пример #1
0
 public function testGetKey()
 {
     $entityData = new EntityData('book', '12345', '<xml>...</xml>');
     $this->assertEquals('book.12345', $entityData->getKey());
 }
Пример #2
0
 public function updateEntityData(EntityData $entityData)
 {
     $this->entityData[$entityData->getKey()] = $entityData;
 }