public function testGetDirectory()
{
$property = PropertyModel::fromArray(array('id' => 1));
$document = DocumentModel::fromArray(array('id' => 1));
$this->object->load($property, $document);
$this->assertEquals('/media/files/' . $document->getId() . '/' . $property->getId(), $this->object->getDirectory());
}