コード例 #1
0
ファイル: LayoutTest.php プロジェクト: noose/zf2
    public function testHelperMethodFetchesLayoutObject()
    {
        $layout = Layout\Layout::startMvc();
        $helper = new Helper\Layout();

        $received = $helper->__invoke();
        $this->assertSame($layout, $received);
    }
コード例 #2
0
ファイル: LayoutTest.php プロジェクト: nevvermind/zf2
 public function testHelperMethodFetchesLayoutObject()
 {
     $helper = new Helper\Layout();
     $received = $helper->__invoke();
     $this->assertTrue($received instanceof Layout);
 }