public function test_entities_descriptor_can_be_added()
 {
     $entitiesDescriptor = new EntitiesDescriptor();
     $entitiesDescriptor->addItem(new EntityDescriptor('http://some.com'));
     $entitiesDescriptor->addItem($expected = new EntityDescriptor($entityId = 'http://entity.com'));
     $entitiesDescriptor->addItem(new EntityDescriptor('http://third.com'));
     $store = new FixedEntityDescriptorStore();
     $store->add($entitiesDescriptor);
     $this->assertTrue($store->has($entityId));
     $this->assertSame($expected, $store->get($entityId));
 }