Example #1
0
 public function testHelperMethodFetchesLayoutObject()
 {
     $layout = Layout\Layout::startMvc();
     $helper = new Helper\Layout();
     $received = $helper->direct();
     $this->assertSame($layout, $received);
 }
Example #2
0
 public function testHelperMethodFetchesLayoutObject()
 {
     $helper = new Helper\Layout();
     $received = $helper->__invoke();
     $this->assertTrue($received instanceof Layout);
 }