RowCellWalkerImpl implements RowCellWalker { @Override public void setTimeValue(final long timeInMillis) { this.row.getOrCreateCell(this.c).setTimeValue(timeInMillis); } RowCellWalkerImpl(final TableRowImpl row); @Override void markRowsSpanned(final int n); @Override void setBooleanValue(final boolean value); @Override void setText(final Text text); @Override void setCellMerge(final int rowMerge, final int columnMerge); @Override void setAttribute(final String attribute, final CharSequence value); @Override void setColumnsSpanned(final int n); @Override void markColumnsSpanned(final int n); @Override void setDateValue(final Date value); @Override void setFloatValue(final Number value); @Override void setPercentageValue(final Number value); @Override void setRowsSpanned(final int n); @Override void setVoidValue(); @Override void setMatrixFormula(final String formula); @Override void setMatrixFormula(final String formula, final int matrixRowsSpanned,
                                 final int matrixColumnsSpanned); @Override void setStringValue(final String value); @Override void setTimeValue(final long timeInMillis); @Override void setTimeValue(final long years, final long months, final long days, final long hours,
                             final long minutes, final double seconds); @Override void setNegTimeValue(final long years, final long months, final long days,
                                final long hours, final long minutes, final double seconds); @Override void setTooltip(final String tooltipText); @Override void setTooltip(final String tooltipText, final Length width, final Length height,
                           final boolean visible); @Override void setTooltip(final Tooltip tooltip); @Override void setFormula(final String formula); @Override boolean hasValue(); @Override boolean isCovered(); @Override void setCovered(); @Override boolean hasNext(); @Override boolean hasPrevious(); @Override void last(); @Override void next(); @Override void previous(); @Override void setCellValue(final CellValue value); @Override void setCurrencyValue(final float value, final String currency); @Override void setCurrencyValue(final int value, final String currency); @Override void setCurrencyValue(final Number value, final String currency); @Override void setDateValue(final Calendar cal); @Override void setFloatValue(final float value); @Override void setFloatValue(final int value); @Override void setPercentageValue(final float value); @Override void setPercentageValue(final int value); @Override void setStyle(final TableCellStyle style); @Override void to(final int c); @Override void setDataStyle(final DataStyle dataStyle); @Override int colIndex();  }
@Test public final void testSetTimeValueMillis() { PowerMock.resetAll(); EasyMock.expect(this.row.getOrCreateCell(0)).andReturn(this.cell); this.cell.setTimeValue(TIME_IN_MILLIS); PowerMock.replayAll(); this.cellWalker.setTimeValue(TIME_IN_MILLIS); PowerMock.verifyAll(); }
@Test public final void testSetTimeValue() { PowerMock.resetAll(); EasyMock.expect(this.row.getOrCreateCell(0)).andReturn(this.cell); this.cell.setTimeValue(1, 2, 3, 4, 5, 6); PowerMock.replayAll(); this.cellWalker.setTimeValue(1, 2, 3, 4, 5, 6); PowerMock.verifyAll(); }