def METHOD_NAME():
    try:
        defer_load_old = config.defer_load
        config.defer_load = True
        def test():
            return 1
        assert ParamFunction.applies(test)
        assert isinstance(panel(test), ParamFunction)
    finally:
        config.defer_load = defer_load_old