BooleanValue implements CellValue { @Override public void setToCell(final TableCell tableCell) { tableCell.setBooleanValue(this.value); } BooleanValue(final Boolean value); static BooleanValue from(final Object o); @Override void setToCell(final TableCell tableCell); @Override boolean equals(final Object o); @Override final int hashCode();  }
@Test public final void testSetConstructor() { PowerMock.resetAll(); final TableCell cell = PowerMock.createMock(TableCell.class); cell.setBooleanValue(true); PowerMock.replayAll(); final CellValue cv = new BooleanValue(true); cv.setToCell(cell); PowerMock.verifyAll(); }