Fix mock call to download
Fix mock call to download

We can only mock public and protected functions in phpunit.

IljaN/core,xx621998xx/server,nextcloud/server,michaelletzgus/nextcloud-server,endsguy/server,phil-davis/core,xx621998xx/server,Ardinis/server,pmattern/server,jbicha/server,sharidas/core,xx621998xx/server,pollopolea/core,cernbox/core,whitekiba/server,Ardinis/server,owncloud/core,bluelml/core,pollopolea/core,bluelml/core,andreas-p/nextcloud-server,sharidas/core,owncloud/core,andreas-p/nextcloud-server,pollopolea/core,pixelipo/server,pmattern/server,jbicha/server,xx621998xx/server,whitekiba/server,cernbox/core,nextcloud/server,IljaN/core,michaelletzgus/nextcloud-server,bluelml/core,owncloud/core,IljaN/core,endsguy/server,nextcloud/server,whitekiba/server,nextcloud/server,sharidas/core,bluelml/core,andreas-p/nextcloud-server,pmattern/server,michaelletzgus/nextcloud-server,cernbox/core,pixelipo/server,pixelipo/server,pmattern/server,endsguy/server,sharidas/core,jbicha/server,jbicha/server,xx621998xx/server,IljaN/core,Ardinis/server,owncloud/core,pmattern/server,andreas-p/nextcloud-server,jbicha/server,Ardinis/server,owncloud/core,cernbox/core,whitekiba/server,pollopolea/core,IljaN/core,andreas-p/nextcloud-server,endsguy/server,bluelml/core,endsguy/server,michaelletzgus/nextcloud-server,pixelipo/server,cernbox/core,pixelipo/server,whitekiba/server,sharidas/core,pollopolea/core,Ardinis/server