TODO: document array format of constructor
Наследование: extends ItemDefinition, implements PHPCR\NodeType\PropertyDefinitionInterface
 public function testGetDeclaringNodeType()
 {
     $nodeType = $this->getMock('Jackalope\\NodeType\\NodeTypeDefinition', array(), array(), '', false);
     $factory = $this->getMock('Jackalope\\Factory');
     $nodeTypeManager = $this->getNodeTypeManagerMock();
     $nodeTypeManager->expects($this->once())->method('getNodeType')->with($this->equalTo('nt:unstructured'))->will($this->returnValue($nodeType));
     $propType = new PropertyDefinition($factory, $this->defaultData, $nodeTypeManager);
     $this->assertSame($nodeType, $propType->getDeclaringNodeType());
 }