Rename mock\controller::methodsWhichMatch() to mock\controller::methodsMatching().