コード例 #1
0
 /**
  * Fail if a non-existant template directory is given.
  *
  * @expectedException  \InvalidArgumentException
  */
 public function testInvalidPath()
 {
     AbstractTemplate::setPath(DATA_DIR . 'no-templates');
 }
コード例 #2
0
ファイル: ChromeTest.php プロジェクト: ngnpope/jerity
 /**
  *
  */
 public function setUp()
 {
     AbstractTemplate::setPath(DATA_DIR . 'templates');
 }