@Test
public void equals_withDifferentScale_returnsFalse() throws Exception {

    DataType varchar = new DataType(Types.VARCHAR, "VARCHAR", 255);
    DataType other = new DataType(Types.VARCHAR, "VARCHAR", 50);
    assertFalse(varchar.equals(other));
}