| 148 |
lars |
1 |
|
|
|
2 |
{modifier} function {reference}{method_name}({arguments_decl}){return_declaration}
|
|
|
3 |
{{deprecation}
|
|
|
4 |
$__phpunit_arguments = [{arguments_call}];
|
|
|
5 |
$__phpunit_count = func_num_args();
|
|
|
6 |
|
|
|
7 |
if ($__phpunit_count > {arguments_count}) {
|
|
|
8 |
$__phpunit_arguments_tmp = func_get_args();
|
|
|
9 |
|
|
|
10 |
for ($__phpunit_i = {arguments_count}; $__phpunit_i < $__phpunit_count; $__phpunit_i++) {
|
|
|
11 |
$__phpunit_arguments[] = $__phpunit_arguments_tmp[$__phpunit_i];
|
|
|
12 |
}
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
$__phpunit_result = $this->__phpunit_getInvocationHandler()->invoke(
|
|
|
16 |
new \PHPUnit\Framework\MockObject\Invocation(
|
|
|
17 |
'{class_name}', '{method_name}', $__phpunit_arguments, '{return_type}', $this, {clone_arguments}
|
|
|
18 |
)
|
|
|
19 |
);
|
|
|
20 |
|
|
|
21 |
return $__phpunit_result;
|
|
|
22 |
}
|