I occasionally need the list of method parameter matchers when setting assertions via mocks using with()
. A completely useless example:
$foo->expects($this->once()) ->method('setter') ->with($this->isType('string'));
I occasionally need the list of method parameter matchers when setting assertions via mocks using with()
. A completely useless example:
$foo->expects($this->once()) ->method('setter') ->with($this->isType('string'));