/**
  * +-- ForceCompileでcompile
  *
  * @access      public
  * @return      void
  */
 public function SimpleCompileTest()
 {
     $symple_test_config = $this->parseYml('unit_tests_config.yml', 'simple_test');
     $EnviMarkdownExtension = new EnviMarkdownExtension($symple_test_config);
     $res = $EnviMarkdownExtension->compile(file_get_contents($this->test_data_dir . 'simple_test.md'), 'test');
     $this->assertEquals(file_get_contents($this->test_data_dir . 'simple_test.md.html'), $res, $res);
 }
 /**
  * +-- cache有りCompileでcompileFile
  *
  * @access      public
  * @return      void
  */
 public function CachedCompileFileTest()
 {
     $symple_test_config = $this->parseYml('unit_tests_config.yml', 'cached_test');
     $EnviMarkdownExtension = new EnviMarkdownExtension($symple_test_config);
     $res = $EnviMarkdownExtension->compileFile($this->test_data_dir . 'simple_test.md', 'test');
     $this->assertEquals(file_get_contents($this->test_data_dir . 'simple_test.md.html'), $res);
     $this->assertFileExists($this->test_data_dir . 'mark_down_cache_test_1.0_unittest.html.envicc');
     // 再コンパイルしてみる
     $res2 = $EnviMarkdownExtension->compileFile($this->test_data_dir . 'simple_test.md', 'test');
     $this->assertEquals($res2, $res);
     // 再コンパイルしてみる
     file_put_contents($this->test_data_dir . 'mark_down_cache_test_1.0_unittest.html.envicc', '1234');
     $res3 = $EnviMarkdownExtension->compile(file_get_contents($this->test_data_dir . 'simple_test.md'), 'test');
     $this->assertNotEquals($res3, $res);
 }