Ejemplo n.º 1
0
 /**
  * @covers Cradle\Handlebars\HandlebarsHandler::i
  */
 public function testI()
 {
     $actual = HandlebarsHandler::i();
     $this->assertInstanceOf('Cradle\\Handlebars\\HandlebarsHandler', $actual);
 }
Ejemplo n.º 2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     //reset the helpers and partials after every test
     HandlebarsHandler::i()->reset();
 }