CodabarBean extends AbstractBarcodeBean { public void setWideFactor(double value) { if (value <= 1.0) { throw new IllegalArgumentException("wide factor must be > 1.0"); } this.wideFactor = value; } CodabarBean(); ChecksumMode getChecksumMode(); void setChecksumMode(ChecksumMode mode); double getWideFactor(); void setWideFactor(double value); @Override double getBarWidth(int width); boolean isDisplayStartStop(); void setDisplayStartStop(boolean value); @Override void generateBarcode(CanvasProvider canvas, String msg); @Override BarcodeDimension calcDimensions(String msg); @Override Collection<String> getAdditionalNames(); @Override String getId();  }
@Test public void testSetWideFactor() { System.out.println("setWideFactor"); double value = 1.01; CodabarBean instance = new CodabarBean(); instance.setWideFactor(value); }