We can only mock public and protected functions in phpunit.tags/v9.0beta1
@@ -124,7 +124,7 @@ class SyncService { | |||
* @param string $resourcePath | |||
* @return array | |||
*/ | |||
private function download($url, $sharedSecret, $resourcePath) { | |||
protected function download($url, $sharedSecret, $resourcePath) { | |||
$settings = [ | |||
'baseUri' => $url, | |||
'userName' => 'system', |