I\'ve got a PHPUnit mock object that returns \'return value\' no matter what its arguments:
\'return value\'
// From inside a test... $mock = $this->getMock(\
Do you mean something like this?
public function TestSomeCondition($condition){ $mockObj = $this->getMockObject(); $mockObj->setReturnValue('yourMethod',$condition); }