AbstractBarcodeBean implements BarcodeGenerator { public double getVerticalQuietZone() { if (this.quietZoneVertical == null) { return getQuietZone(); } else { return this.quietZoneVertical; } }  String getPattern(); void setPattern(String v); double getHumanReadableHeight(); double getBarHeight(); double getHeight(); void setBarHeight(double height); void setHeight(double height); double getModuleWidth(); void setModuleWidth(double width); abstract double getBarWidth(int width); boolean hasQuietZone(); void doQuietZone(boolean value); double getQuietZone(); double getVerticalQuietZone(); void setQuietZone(double width); void setVerticalQuietZone(double height); HumanReadablePlacement getMsgPosition(); void setMsgPosition(HumanReadablePlacement placement); double getFontSize(); void setFontSize(double size); String getFontName(); void setFontName(String name); @Override abstract void generateBarcode(CanvasProvider canvas, String msg); @Override BarcodeDimension calcDimensions(String msg); @Override void configure(Configuration cfg);  }
@Test public void testGetVerticalQuietZone() { System.out.println("getVerticalQuietZone"); AbstractBarcodeBean instance = new AbstractBarcodeBeanImpl(); double expResult = 10.0; instance.setQuietZone(expResult); double result = instance.getVerticalQuietZone(); assertEquals(expResult, result, 0.0); instance.setVerticalQuietZone(expResult * 2); result = instance.getVerticalQuietZone(); assertEquals(expResult * 2, result, 0.0); }