/** * Test * * @return void */ public function testResolveWithLfiProtection() { $this->object->setLfiProtection(true)->addPath(__DIR__ . '/_templates'); $this->setExpectedException('Zend\\View\\Exception\\ExceptionInterface'); $this->object->resolve('../one.phtml'); }