@Test
public void testGetDisplay_returnsNullForUnattachedView() {

    final View view = new View(mActivityTestRule.getActivity());
    final Display display = ViewCompat.getDisplay(view);
    assertNull(display);
}