private function compareResults($exampleId) { $result = $this->callFunction("exampleClassFile", "exampleFunction", array($exampleId, "pass", "parameters", "here", "thisFunctionDoesn'tExist")); //Constructs URL and pings if ($this->parseReturnCode($result) == 0) { $this->exampleId = $this->parseData($result); //Make sure you know what data you are expecting if you are doing this. Model::$exampleId = $this->parseData($result); //Put it in the model if you need it for other tests $this->testLog("Ran exampleTest Smoothly!"); //'testLog' will take care of formatting output based on verbosity level. Ouput test details with this function. return new testResult(TestConf::tr_SUCCESS, "Nothin' to say.", null); //Return testResultCode, description, and data if needed } else { return new testResult(TestConf::tr_FAIL, $result); } }