public function testPrevious()
 {
     if (version_compare(PHP_VERSION, '5.3.0', '<')) {
         $this->markTestSkipped('Exception chaining requires at least PHP 5.3');
     }
     $previous = new Exception();
     $e = new Mustache_Exception_UnknownHelperException('foo', $previous);
     $this->assertSame($previous, $e->getPrevious());
 }
 public function testGetHelperName()
 {
     $e = new Mustache_Exception_UnknownHelperException('gamma');
     $this->assertEquals('gamma', $e->getHelperName());
 }