public function testHasWidgets()
{
$app = $this->getApp();
$handlers = $this->getTwigHandlers($app);
$handlers['widget'] = $this->getMockHandler('WidgetHandler', 'hasWidgets');
$twig = new TwigExtension($app, $handlers, true);
$twig->hasWidgets(null, null);
}