1 2 {modifier} function {reference}{method_name}({arguments_decl}){return_delim}{return_type} 3 { 4 throw new PHPUnit_Framework_MockObject_BadMethodCallException('Static method "{method_name}" cannot be invoked on mock object'); 5 } 6