FloatValue implements CellValue { @Override public void setToCell(final TableCell tableCell) { tableCell.setFloatValue(this.value); } FloatValue(final Number value); static FloatValue from(final Object o); @Override boolean equals(final Object o); @Override final int hashCode(); @Override void setToCell(final TableCell tableCell); @Override String toString();  }
@Test public void testSet() { final CellValue fv1 = new FloatValue(10.0); final TableCell cell = PowerMock.createMock(TableCell.class); PowerMock.resetAll(); cell.setFloatValue(10.0); PowerMock.replayAll(); fv1.setToCell(cell); PowerMock.verifyAll(); }