def METHOD_NAME(hc, addmeth):
    @addmeth(hookwrapper=True)
    def he_method1():
        pass
    @addmeth()
    def he_method1_middle():
        pass
    @addmeth(hookwrapper=True)
    def he_method3():
        pass
    assert funcs(hc._nonwrappers) == [he_method1_middle]
    assert funcs(hc._wrappers) == [he_method1, he_method3]