/** * Sets a list of API methods to not call during the test * * @param string $apiNotToCall eg. 'ExampleAPI.getPiwikVersion' * * @return void */ protected static function setApiNotToCall($apiNotToCall) { if (!is_array($apiNotToCall)) { $apiNotToCall = array($apiNotToCall); } self::$apiNotToCall = $apiNotToCall; }