view vendor/phpunit/phpunit-mock-objects/src/Generator/mocked_static_method.tpl.dist @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents
children
line wrap: on
line source

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