DataRowDiff extends CompositeDiff<DataRow, DataCell> { @Override protected Class getType() { return DataRow.class; } DataRowDiff(final String[] columnNames);  DataRowDiff(final String[] columnNames, final DataCellDiff cellDiff);   }
@Test public void shouldEmitChildrenDiffEventsOfTypeDataCell() { Class expectedType = DataCell.class; runUnadaptedDiff(createRow(2, 4), createRow(2, 4)); assertThat(allResults.get(0).getType(), equalTo(expectedType)); assertThat(allResults.get(1).getType(), equalTo(expectedType)); }
@Test public void shouldEmitDiffEventOfTypeDataRow() { Class expectedType = DataRow.class; runUnadaptedDiff(createRow(2, 4), createRow(2, 4)); assertThat(allResults.get(2).getType(), equalTo(expectedType)); }