public function setUp()
 {
     $config = array('dir' => SCRIBBLE_TESTS_DATA_BASE_DIR_WITH_SUBDIRS, 'path' => '', 'files' => array('scribble.md' => array(), 'scribble.textile' => array(), 'scribble.txt' => array(), 'scribble.html' => array()));
     $directory = new ScribbleDirWithSubdirs($config);
     $this->tags = $directory->load()->getScribbles()->getTags();
     $this->tagCounts = $directory->load()->getScribbles()->getTagCounts();
 }
 /**
  * @expectedException Sirprize\Scribble\ScribbleException
  */
 public function testLoadException()
 {
     $config = array('dir' => 'some-invalid-dir', 'path' => '', 'files' => array('scribble.md' => array(), 'scribble.textile' => array(), 'scribble.txt' => array(), 'scribble.html' => array()));
     $directory = new ScribbleDirWithSubdirs($config);
     $directory->load();
 }