about me about me
photography photography
software projects software projects
contact me contact me

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'));

Read the rest of this entry »