StringValue implements CellValue { @Override public void setToCell(final TableCell cell) { cell.setStringValue(this.value); } StringValue(final String value); static CellValue from(final Object o); @Override boolean equals(final Object o); @Override final int hashCode(); @Override void setToCell(final TableCell cell); @Override final String toString();  }
@Test public void testCell() { PowerMock.replayAll(); final TableCell cell = PowerMock.createMock(TableCell.class); cell.setStringValue("ok"); PowerMock.replayAll(); final CellValue v = new StringValue("ok"); v.setToCell(cell); PowerMock.verifyAll(); }