MatcherCollection.php Interfaces, Classes and Traits PHPUnit_Framework_MockObject_Stub_MatcherCollection Stubs a method by returning a user-defined value.