def METHOD_NAME(name: str, module: str, superclass: Any = _MockObject,
                   attributes: Any = None, decorator_args: tuple = ()) -> Any:
    attrs = {'__module__': module,
             '__display_name__': module + '.' + name,
             '__name__': name,
             '__sphinx_decorator_args__': decorator_args}
    attrs.update(attributes or {})
    return type(name, (superclass,), attrs)