private function getSerialized(StringQuery $query) { return 'string[' . $query->getPropertyId()->getNumericId() . ':"' . $query->getStringValue()->getValue() . '"]'; }
public function testGetType() { $query = new StringQuery(new PropertyId('P42'), new StringValue('foo')); $this->assertEquals('string', $query->getType()); }