BarcodeDimension { public double getYOffset() { return yOffset; } BarcodeDimension(double w, double h);  BarcodeDimension(double w, double h,
            double wpq, double hpq,
            double xoffset, double yoffset); double getHeight(); double getHeight(Orientation orientation); double getHeightPlusQuiet(); double getHeightPlusQuiet(Orientation orientation); double getWidth(); double getWidth(Orientation orientation); double getWidthPlusQuiet(); double getWidthPlusQuiet(Orientation orientation); double getXOffset(); double getYOffset(); Rectangle2D getBoundingRect(); Rectangle2D getContentRect(); @Override String toString();  }
@Test public void testGetYOffset() { System.out.println("getYOffset"); assertEquals(2, new BarcodeDimension(100, 200, 110, 204, 5, 2).getYOffset(), 0.0); assertEquals(0, new BarcodeDimension(100, 200).getYOffset(), 0.0); }