/**
  * Get the information about the template from it's
  * config file: .santas-workshop.yaml
  */
 public function testGetTemplateInfo()
 {
     $config = Config::factory(array("code" => "code", "tmpl" => "code", "vars" => $this->vars));
     $this->configurator->save($config);
     $config = $this->configurator->read($config);
     $this->checkConfig($config);
 }
 public function testBuild()
 {
     $config = Config::factory(array("code" => "code", "tmpl" => "code", "vars" => array("var1" => "text here", "var2" => "more text")));
     $giftor = new Giftor(__DIR__ . "/output/gifts");
     $stats = $giftor->build($config, __DIR__ . "/input/templates");
     $this->checkOuput($stats);
 }