constructorArgs = [$arg1, $arg2]; } public function mockableMethod() { // something different from NULL return true; } public function anotherMockableMethod() { // something different from NULL return true; } public function __clone() { $this->cloned = true; } }