def METHOD_NAME(self):
    registry = TargetRegistry()
    class SpecificEditor:
        pass
    class UserAction:
        pass
    class UserAction2:
        pass
    def handler(wrapper, interaction):
        pass
    # when
    registry.register_interaction(
        target_class=SpecificEditor,
        interaction_class=UserAction,
        handler=handler,
    )
    registry.register_interaction(
        target_class=SpecificEditor,
        interaction_class=UserAction2,
        handler=handler,
    )
    # then
    self.assertEqual(
        registry._get_interactions(SpecificEditor()),
        {UserAction, UserAction2},
    )