Fixes issues with older phpunit-versions
Fixes issues with older phpunit-versions

getMock is deprecated in newser phpunit-versions.

railto/joindin-api,railto/joindin-api,akrabat/joindin-api,heiglandreas/joindin-api,lornajane/joindin-api,dstockto/joindin-api,railto/joindin-api,lornajane/joindin-api,joindin/joindin-api,dstockto/joindin-api,dstockto/joindin-api,joindin/joindin-api,akrabat/joindin-api,heiglandreas/joindin-api,lornajane/joindin-api,akrabat/joindin-api,heiglandreas/joindin-api,joindin/joindin-api