### Question:
DisplayHelperBase implements DisplayHelper { @SuppressWarnings("deprecation") @Override public Point getDisplaySize() { final Display display = getDefaultDisplay(); return new Point(display.getWidth(), display.getHeight()); } DisplayHelperBase(final Context context); @SuppressWarnings("deprecation") @Override int getDisplayAngle(); @SuppressWarnings("deprecation") @Override Point getDisplaySize(); @Override Point getRawDisplaySize();  }### Answer:
@Test public void testGetDisplaySize() { final Point displaySize = new DisplayHelperBase(Robolectric.application).getDisplaySize(); assertNotNull(displaySize); assertEquals(displaySize.x, mShadowDisplay.getWidth()); assertEquals(displaySize.y, mShadowDisplay.getHeight()); }