def METHOD_NAME(data_check_error):
    assert data_check_error.message == "test error"
    assert data_check_error.data_check_name == "test data check error name"
    assert data_check_error.message_type == DataCheckMessageType.ERROR
    assert data_check_error.message_code == DataCheckMessageCode.HIGHLY_NULL_COLS
    assert data_check_error.details == {
        "error detail": "some error detail",
        "columns": None,
        "rows": None,
    }