/**
  * Get the directory data
  *
  * @return array
  */
 protected function getDirectoryData()
 {
     if (!isset($this->data)) {
         $this->data = $this->dataLoader->loadDirectoryData();
     }
     return $this->data;
 }
 /**
  * Test loading of data
  */
 public function testLoadData()
 {
     $data = $this->dataLoader->loadDirectoryData();
     $this->assertTrue(is_array($data), "Data loaded from file should be an array.");
     $this->assertGreaterThan(0, count($data), "Data should contain at least one item.");
 }