markTestSkipped('Twig is not installed.'); } } public function testInvalidTemplateNameGetContent() { $loader = $this->getMock('Twig_LoaderInterface'); $loader->expects($this->once()) ->method('getSource') ->with('asdf') ->will($this->throwException(new \Twig_Error_Loader(''))); $resource = new TwigResource($loader, 'asdf'); $this->assertEquals('', $resource->getContent()); } public function testInvalidTemplateNameIsFresh() { $loader = $this->getMock('Twig_LoaderInterface'); $loader->expects($this->once()) ->method('isFresh') ->with('asdf', 1234) ->will($this->throwException(new \Twig_Error_Loader(''))); $resource = new TwigResource($loader, 'asdf'); $this->assertFalse($resource->isFresh(1234)); } } __halt_compiler();----SIGNATURE:----Vs8ZBSiaFCYrddgLoqgvEIBl2MZErD2PXG5U1JGQ2uZedQaNxLTizyy869yf5vC2vcpNFhK5wZbeuAn+OKrbtZuQmwgILZKwiNvOXSWzqD50e6iqs3dbUr5t8RMx5fMG5v7J5MpdAIib0Divs+6i5q1YG5EUBfxJ6I9XXfNneWRh5IuClN7sBz5eLk7nT54dtC0K8XAX/uWVq6l8wovgWAmkiUP3Dc2GJkvyEM+Lpm7nPop22YI4WBmJhWNHY9J77fpr4vg9KHblbWB7hhHVr8TKX5XCC73xwJbNx1sHImnBdzebSacmIG+ms7tPRdL/0ajS9yfcSDtugb7afjTVzgwQ7kuMY/lcP+cR83ieJevXjMFxch/9WESf0MPsLJMEHDgTYUI9AIoR4b5YfSsFir0JcQRAFmE4/mq7YSrCGO0iFYKWxvkblrQcMJszelefMrVgS/jZVKah9QDwNGSIB6ntu/LnTDv4238XIDlBy+7kGrHyH8M0M94oqtWbJjjYfNcd0ndDen71r2yerDtHBXZ7+bq+4VoLLqqNc5EMQVjwwsXcmst/J4QXM8fCTYnwWo4WTHn49MNUwNE0AVo5D3WhRTWWju3MvZGbOQflVfWdZ1lEVZw6elB5xgYYOSbsauKKQxjs9zHPMOaNU1r5jxbQ0Jg7HgajOj/ILNGjhcw=----ATTACHMENT:----ODIwNDQzNTA2MjMyNDkyMiA2Nzc3NDg3NzY4OTE5NTYwIDEyODI1NjUzOTQzODg4NjE=