public function testNodeVisitorThrowExceptionIfMaxPerPageValueIsNotAConstant() { $env = $this->createEnv(); $stream = $env->parse($env->tokenize('{{ paginate(collection, maxPerPage) }}')); }