def METHOD_NAME(self):
    # Test raise InteractionNotSupported contains information about what
    # actions are supported.
    class SpecificEditor:
        pass
    class SpecificEditor2:
        pass
    class UserAction:
        pass
    class UserAction2:
        pass
    class UserAction3:
        pass
    def handler(wrapper, interaction):
        pass
    registry = TargetRegistry()
    registry.register_interaction(SpecificEditor, UserAction, handler)
    registry.register_interaction(SpecificEditor2, UserAction2, handler)
    registry.register_interaction(SpecificEditor2, UserAction3, handler)
    with self.assertRaises(InteractionNotSupported) as exception_context:
        registry._get_handler(SpecificEditor2(), None)
    self.assertIn(UserAction2, exception_context.exception.supported)
    self.assertIn(UserAction3, exception_context.exception.supported)
    self.assertNotIn(UserAction, exception_context.exception.supported)