• File: mocked_static_method.tpl
  • Full Path: /var/www/imaliapi/vendor/phpunit/phpunit/src/Framework/MockObject/Generator/mocked_static_method.tpl
  • Date Modified: 12/05/2024 8:48 PM
  • File size: 238 bytes
  • MIME-type: text/plain
  • Charset: utf-8

    {modifier} function {reference}{method_name}({arguments_decl}){return_declaration}
    {
        throw new \PHPUnit\Framework\MockObject\BadMethodCallException('Static method "{method_name}" cannot be invoked on mock object');
    }