def METHOD_NAME():
    """Test the ``__eq__`` implementation."""
    node_a = EnumData(DummyEnum.OPTION_A)
    node_b = EnumData(DummyEnum.OPTION_B)
    assert node_a == DummyEnum.OPTION_A
    assert node_a != DummyEnum.OPTION_B
    assert node_a == node_a  # pylint: disable=comparison-with-itself
    assert node_a != node_b
    assert node_a != DummyEnum.OPTION_A.value
    # If the identifier cannot be resolved, the equality should not raise but simply return ``False``.
    node_a.base.attributes.set(EnumData.KEY_IDENTIFIER, 'aiida.common.links:NonExistingEnum')
    assert node_a != DummyEnum.OPTION_A
    # If the value is incorrect for the resolved identifier, the equality should not raise but simply return ``False``.
    node_b.base.attributes.set(EnumData.KEY_VALUE, 'c')
    assert node_b != DummyEnum.OPTION_B