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

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

    public function testArrayValuesThatReferToStaticMethodsShouldNotCallThem()
    {
        $model = array('message' => 'DateTime::createFromFormat');
        $test = $this->mustache->render('template-referencing-php-function', $model);
        $this->assertEquals('DateTime::createFromFormat', trim($test));
    }
MustacheTest