def METHOD_NAME(actual, expected):
    if actual != expected:
        raise RuntimeError(
            "Enum value mismatch. Expected " + str(expected) + " Actual: " + str(actual))
    return expected + 1