mocked_static_method.tpl.dist 245 B

12345
  1. {modifier} function {reference}{method_name}({arguments_decl}){return_delim}{return_type}
  2. {
  3. throw new \PHPUnit\Framework\MockObject\BadMethodCallException('Static method "{method_name}" cannot be invoked on mock object');
  4. }