PhlyTest\Mustache\MustacheTest::testArrayValuesThatReferToStaticMethodsInArraySyntaxShouldNotCallThem PHP Method

testArrayValuesThatReferToStaticMethodsInArraySyntaxShouldNotCallThem() public method

    public function testArrayValuesThatReferToStaticMethodsInArraySyntaxShouldNotCallThem()
    {
        $model = array('section' => array('DateTime', 'createFromFormat'));
        $this->mustache->getRenderer()->addPragma(new ImplicitIterator());
        $test = $this->mustache->render('template-referencing-static-function', $model);
        $this->assertEquals("DateTime\ncreateFromFormat", trim($test));
    }
MustacheTest