PHPUnit_Framework_MockObject_Stub_MatcherCollection
interface PHPUnit_Framework_MockObject_Stub_MatcherCollection (View source)
Stubs a method by returning a user-defined value.
Methods
addMatcher(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
Adds a new matcher to the collection which can be used as an expectation or a stub.
Details
at line 22
addMatcher(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
Adds a new matcher to the collection which can be used as an expectation or a stub.