DefaultCanvasLogicHandler implements ClassicBarcodeLogicHandler { @Override public void startBarcode(String msg, String formattedMsg) { this.formattedMsg = MessagePatternUtil.applyCustomMessagePattern( formattedMsg, bcBean.getPattern()); this.dimensions = bcBean.calcDimensions(msg); canvas.establishDimensions(dimensions); x = getStartX(); y = getStartY(); } DefaultCanvasLogicHandler(AbstractBarcodeBean bcBean, Canvas canvas); @Override void startBarcode(String msg, String formattedMsg); @Override void startBarGroup(BarGroup type, String submsg); @Override void addBar(boolean black, int width); @Override void endBarGroup(); @Override void endBarcode();  }
@Test public void testStartBarcode() { System.out.println("startBarcode"); instance.startBarcode("foo", null); assertEquals("<svg xmlns=\"http: }