public function setupObjects() { parent::setupObjects(); $this->addMockSubscriber($this->getTestFilePath('Check')); $this->check = $this->entity->getCheck(self::CHECK_ID); $this->addMockSubscriber($this->getTestFilePath('Metrics')); $this->metrics = $this->check->getMetrics(); $this->metric = $this->metrics->first(); }
public function setupObjects() { parent::setupObjects(); $this->addMockSubscriber($this->getTestFilePath('Alarm')); $this->alarm = $this->entity->getAlarm(self::ALARM_ID); }
public function setupObjects() { parent::setupObjects(); $this->resource = $this->service->resource('AgentTarget', null, $this->entity); }
public function setupObjects() { parent::setupObjects(); $this->resource = $this->entity->getAlarm(); }