remote->getCoreMethods(new ApiCore()); // use the mock API core } /** * Make output available for testing * * @param string $xml * @return void */ public function output($xml) { $this->output = $xml; } }