def METHOD_NAME(data_check_error):
    equal_msg = DataCheckError(
        "test error",
        "test data check error name",
        DataCheckMessageCode.HIGHLY_NULL_COLS,
        {"error detail": "some error detail"},
    )
    assert data_check_error == equal_msg
    equal_msg = DataCheckError(
        "different test warning",
        "different test data check error name",
    )
    assert data_check_error != equal_msg