### Question:
BBox { public void shrink(int xShrink, int yShrink) { xmin += xShrink; xmax -= xShrink; ymin += yShrink; ymax -= yShrink; } BBox();  BBox(int xmin, int ymin, int xmax, int ymax);  BBox(BBox bbox); void shrink(int xShrink, int yShrink); int getWidth(); int getHeight(); void remap(Point offset); boolean contains(Point p); boolean overlaps(BBox box); int getXmin(); void setXmin(int xmin); int getXmax(); void setXmax(int xmax); int getYmin(); void setYmin(int ymin); int getYmax(); void setYmax(int ymax); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testShrink() { BBox exp = new BBox(12, 10, 18, 20); BBox res = new BBox(10, 5, 20, 25); res.shrink(2, 5); assertEquals(exp, res); }