ColumnData { @Override public String toString() { return "ColumnData [columnName=" + columnName + ", value=" + value + ", dataType=" + dataType + "]"; } ColumnData(String columnName, Object value, JDBCType dataType); @Override String toString();  }
@Test public void toStringContainsAllVariables() { assertThat(value.toString()).contains(COLUMN_NAME).contains(VALUE.toString()) .contains(DATA_TYPE.toString()); }