private function getSerialized(ClaimQuery $query)
 {
     $text = 'claim[' . $query->getPropertyId()->getNumericId();
     if ($query->getItemId() !== null) {
         $text .= ':' . $query->getItemId()->getNumericId();
     }
     return $text . ']';
 }
 public function testGetType()
 {
     $query = new ClaimQuery(new PropertyId('P42'));
     $this->assertEquals('claim', $query->getType());
 }