mocked_method.tpl.dist 336 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 {modifier} function {reference}{method_name}({arguments}) { $args = func_get_args(); $result = $this->__phpunit_getInvocationMocker()->invoke( new PHPUnit_Framework_MockObject_Invocation( $this, '{class_name}', '{method_name}', $args ) ); return $result; }