def METHOD_NAME(self):
    rule = Rule(get_new_command=lambda x: [x.script + '!', x.script + '@'],
                priority=100)
    assert (list(rule.get_corrected_commands(Command('test', '')))
            == [CorrectedCommand(script='test!', priority=100),
                CorrectedCommand(script='test@', priority=200)])