Inheritance: extends AbstractWidgetFactory
 public function testItCanCacheWidgets()
 {
     $output = $this->factory->run('testCachedWidget', ['foo' => 'bar']);
     $key = 'arrilot.widgets.' . serialize(['testCachedWidget', ['foo' => 'bar']]);
     $widget = new TestCachedWidget();
     $this->assertEquals('Cached output. Key: ' . $key . ', minutes: ' . $widget->cacheTime, $output);
 }
 public function testItGrantsAccessToWidgetGroup()
 {
     $groupObject = $this->factory->group('sidebar');
     $expectedObject = new WidgetGroup('sidebar', new TestApplicationWrapper());
     $this->assertEquals($expectedObject, $groupObject);
 }