EPSCanvasProvider extends AbstractCanvasProvider { protected DecimalFormat getDecimalFormat() { if (this.df == null) { final DecimalFormatSymbols dfs = new DecimalFormatSymbols(); dfs.setDecimalSeparator('.'); this.df = new DecimalFormat("0.####", dfs); } return this.df; } EPSCanvasProvider(OutputStream out, Orientation orientation); @Deprecated  EPSCanvasProvider(OutputStream out, int orientation); void finish(); @Override void establishDimensions(BarcodeDimension dim); @Override void deviceFillRect(double x, double y, double w, double h); @Override void deviceText(
            String text,
            double x1,
            double x2,
            double y1,
            String fontName,
            double fontSize,
            TextAlignment textAlign);  }
@Test public void testGetDecimalFormat() throws Exception { System.out.println("getDecimalFormat"); EPSCanvasProvider instance = new EPSCanvasProvider(out, orientation); DecimalFormatSymbols dfs = new DecimalFormatSymbols(); dfs.setDecimalSeparator('.'); DecimalFormat expResult = new DecimalFormat("0.####", dfs); DecimalFormat result = instance.getDecimalFormat(); assertEquals(expResult, result); }