### Question:
CsvData { public int getRowCount() { if (lines == null) { return 0; } return lines.size(); }  void setLines(final List<String[]> lines); int getRowCount(); int getColumnCount(); String[] getLine(final int i);  }### Answer:
@Test public void shouldReturnRowCountZeroIfLinesNotSet() { assertThat(data.getRowCount(), is(0)); }