BarcodeDimension { public Rectangle2D getBoundingRect() { return new Rectangle2D.Double( 0, 0, getWidthPlusQuiet(), getHeightPlusQuiet()); } 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 getBoundingRect() { System.out.println("getBoundingRect"); BarcodeDimension instance = new BarcodeDimension(100, 200, 110, 204, 5, 2); Rectangle2D expResult = new Rectangle2D.Double(0, 0, 110, 204); Rectangle2D result = instance.getBoundingRect(); assertEquals(expResult, result); }