def METHOD_NAME():
    with pytest.raises(AssertionError) as e:
        MineOperationStatusReasonCode(
            mine_operation_status_reason_code='1234',
            description='test_description',
            display_order=1
        )
    assert 'Mine operation status reason code must not exceed 3 characters.' in str(e.value)