/**
  * Tests WindForward->setWindView()
  */
 public function testSetWindView()
 {
     $windView = new WindView();
     $windView->setConfig(array('template-dir' => 'template/long', 'compile-dir' => 'compile/data'));
     $this->WindForward->setWindView($windView);
     $this->assertEquals($this->WindForward->getWindView(), $windView);
 }
 public function testTemplate()
 {
     $forward = new WindForward();
     $windView = new WindView();
     $forward->setWindView($windView);
     $this->testController->setForward($forward);
     $this->testController->setTemplate("LongController");
     $this->testController->setTemplateExt("php");
     $this->testController->setTemplatePath("/data");
     $this->testController->setTheme("style");
     $this->testController->setThemePackage('package');
     $this->testController->setLayout("layout1");
     $this->assertEquals(array("LongController", "php", "/data", "layout1"), array($windView->templateName, $windView->templateExt, $windView->templateDir, $windView->layout));
 }