def METHOD_NAME(self):
    # `rule()(lambda self: None)` is a call with a positional argument, and
    # so we need an additional check that the "func" node is a Name rather than
    # itself being a Call, lest we rewrite the outer instead of the inner.
    # (this may be an upstream bug in metadata processing)
    before = """
        from hypothesis.stateful import RuleBasedStateMachine, rule
        class MultipleRulesSameFuncMachine(RuleBasedStateMachine):
            rule1 = rule()(lambda self: None)
    """
    self.assertCodemod(before=before, after=before)