### Question:
DisplayCutoutCompat { public List<Rect> getBoundingRects() { if (SDK_INT >= 28) { return ((DisplayCutout) mDisplayCutout).getBoundingRects(); } else { return null; } } DisplayCutoutCompat(Rect safeInsets, List<Rect> boundingRects); private  DisplayCutoutCompat(Object displayCutout); int getSafeInsetTop(); int getSafeInsetBottom(); int getSafeInsetLeft(); int getSafeInsetRight(); List<Rect> getBoundingRects(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testBoundingRects() { if (SDK_INT >= 28) { assertEquals(Arrays.asList(new Rect(50, 0, 60, 10)), mCutoutTop.getBoundingRects()); } else { assertNull(mCutoutTop.getBoundingRects()); } }