Hey Karsten, > But there aren't. And which is why the mock objects in PHPUnit are > somewhat hard to use: > $mock->expects($this->once())->method('...')->will($this->returnValue(NULL)); Yep, I want to avoid that, too. Greets, Sebastian