예제 #1
0
 /**
  * @covers            Zepto\FileLoader::get_folder_contents()
  * @expectedException UnexpectedValueException
  */
 public function testGetFolderContentsWithInvalidDir()
 {
     $actual = $this->loader->get_folder_contents('non-existent');
     $expected = array('404.md' => '404.md', 'index.md' => 'index.md', 'sub/index.md' => 'sub/index.md', 'sub/page.md' => 'sub/page.md');
     $this->assertEquals($expected, $actual);
 }