@Test public void testDestroy() {

  // given
  assertNotNull("layout field must not be null before destroy method call",
      getInternalState(removeView, "layout"));
  assertNotNull("mWindowManager field must not be null before destroy method call",
      getInternalState(removeView, "windowManager"));
  // when
  removeView.destroy();
  // then
  assertNull("layout field must be set to null after destroy method call",
      getInternalState(removeView, "layout"));
  assertNull("mWindowManager field must be set to null after destroy method call",
      getInternalState(removeView, "windowManager"));
}