public void testGetFirstCellNum() {
    assertEquals(-1, valueRecord.getFirstCellNum());
    valueRecord.insertCell(newBlankRecord(2, 2));
    assertEquals(2, valueRecord.getFirstCellNum());
    valueRecord.insertCell(newBlankRecord(3, 3));
    assertEquals(2, valueRecord.getFirstCellNum());

    // Note: Removal doesn't currently reset the first column.  It probably should but it doesn't.
    valueRecord.removeCell(newBlankRecord(2, 2));
    assertEquals(2, valueRecord.getFirstCellNum());
  }
 public DimensionsRecord createDimensions() {
   DimensionsRecord result = new DimensionsRecord();
   result.setFirstRow(_firstrow);
   result.setLastRow(_lastrow);
   result.setFirstCol((short) _valuesAgg.getFirstCellNum());
   result.setLastCol((short) _valuesAgg.getLastCellNum());
   return result;
 }