public function testOffsetIsApplied()
 {
     $this->storeThreeProperties();
     $request = new PropertyListingRequest();
     $request->setPerPage(1);
     $request->setPage(2);
     $this->assertEquals(new PropertyList([new PropertyListElement(new PropertyId('P2'), 'commonsMedia', 'https://www.wikidata.org/entity/P2', 'http://test.url/properties/P2')]), $this->apiFactory->newListPropertiesUseCase()->listProperties($request));
 }
 private function storePropertyInEntityStore(Property $property)
 {
     $this->factory->getPropertyStore()->storePropertyRow(new PropertyRow(json_encode($this->factory->getEntitySerializer()->serialize($property)), new PropertyInfo($property->getId()->getNumericId(), 'Property:' . $property->getId()->getSerialization(), 0, 0, $property->getDataTypeId())));
 }