/** * @return string */ protected function getMockData() { return APITest::getMockData(); }
/** * @return string */ protected function getMockData() { $data = (new Container(json_decode(APITest::getMockData())))->getContainerPorts(); return \Zend\Json\Encoder::encode(array_pop($data)); }
/** * @return string */ protected function getMockData() { $data = (new Container(json_decode(APITest::getMockData())))->getLastMetric(); return \Zend\Json\Encoder::encode($data); }