Exemple #1
0
 /**
  * Checks if dashboard has widget
  *
  * @param WidgetModel $widgetModel
  * @return bool
  */
 public function hasWidget(WidgetModel $widgetModel)
 {
     return $this->getEntity()->hasWidget($widgetModel->getEntity());
 }
 public function testGetEntity()
 {
     $this->assertEquals($this->widgetEntity, $this->widgetModel->getEntity());
 }