/** * Does a non-strict sanity check on ReportOptions service. */ public function testCreateOptions_CreatesNewOptions() { $timecode = substr(md5(microtime()), 0, 5); $label = 'test' . $timecode; $controlOptions = array('Country_multi_select' => array('USA')); $this->jc->updateReportOptions($this->report_uri, $controlOptions, $label, 'true'); $options = $this->jc->getReportOptions($this->report_uri); foreach ($options as $o) { if ($o->getLabel() == $label) { $this->testSuccess = true; } } $this->jc->deleteReportOptions($this->report_uri, $label); $this->assertTrue($this->testSuccess); }