### Question:
DisplayHelperBase implements DisplayHelper { protected final Display getDefaultDisplay() { return ((WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); } DisplayHelperBase(final Context context); @SuppressWarnings("deprecation") @Override int getDisplayAngle(); @SuppressWarnings("deprecation") @Override Point getDisplaySize(); @Override Point getRawDisplaySize();  }### Answer:
@SuppressWarnings("deprecation") @Test public void testGetDefaultDisplay() { final Display display = new DisplayHelperBase(Robolectric.application).getDefaultDisplay(); assertNotNull(display); assertEquals(display.getOrientation(), mShadowDisplay.getOrientation()); assertEquals(display.getWidth(), mShadowDisplay.getWidth()); assertEquals(display.getHeight(), mShadowDisplay.getHeight()); }