PhlyTest\Mustache\MustacheTest::testStringValuesThatReferToFunctionsShouldNotCallThem PHP Метод

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

    public function testStringValuesThatReferToFunctionsShouldNotCallThem()
    {
        $model = array('message' => 'time');
        $this->mustache->getRenderer()->addPragma(new ImplicitIterator());
        $test = $this->mustache->render('template-referencing-static-function-notempty', $model);
        $this->assertEquals('time', trim($test));
    }
MustacheTest