### Question:
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); } BaseHasDynamicHeightCell(final GridCellValue<T> value,
                                    final double lineHeight); @Override double getHeight(); @Override boolean equals(final Object o); @Override int hashCode(); static final double DEFAULT_HEIGHT; }### Answer:
@Test public void testEqualsIdentity() { assertThat(cell).isEqualTo(cell); assertThat(cell.hashCode()).isEqualTo(cell.hashCode()); }
@Test public void testEqualsDifferentLineHeight() { final CELL differentCell = makeCell(LINE_HEIGHT + 1); assertThat(cell).isNotEqualTo(differentCell); assertThat(cell.hashCode()).isNotEqualTo(differentCell.hashCode()); }