### Question:
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (!(o instanceof BaseHasDynamicHeightCell)) { return false; } if (!super.equals(o)) { return false; } final BaseHasDynamicHeightCell<?> that = (BaseHasDynamicHeightCell<?>) o; return Double.compare(that.lineHeight, lineHeight) == 0 && Double.compare(that.height, height) == 0; } 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 testEquals() { final CELL sameCell = makeCell(); assertThat(cell).isEqualTo(sameCell); assertThat(cell.hashCode()).isEqualTo(sameCell.hashCode()); }