### Question:
LazyDataModel extends DataModel<E> { @Override public E getRowData() { return getRowSet().getRowData(getRowIndex()); } LazyDataModel(LazyDataLoader<E, S> loader, S state); @Override boolean isRowAvailable(); @Override int getRowCount(); void clearCachedRowCount(); void clearCachedRowCount(int nextRowIndex); @Override E getRowData(); @Override int getRowIndex(); @Override void setRowIndex(int rowIndex); @Override Object getWrappedData(); @Override void setWrappedData(Object o);  }### Answer:
@Test public void shouldThrowIfNoData() throws Exception { this.thrown.expect(NoRowAvailableException.class); this.dataModel.getRowData(); }