Gc\View\Helper\ScriptTest::testInvokeWithTemplates PHP Метод

testInvokeWithTemplates() публичный Метод

Test
public testInvokeWithTemplates ( ) : void
Результат void
    public function testInvokeWithTemplates()
    {
        $this->object = new Script(Registry::get('Application')->getServiceManager());
        ob_start();
        $this->object->__invoke('script-identifier');
        $data = ob_get_clean();
        $this->assertEquals('script Content', $data);
        $this->assertFalse($this->object->__invoke('fake-script-identifier'));
    }