@Test
public void setInvisibleViewGone() {

  View view = new View(new Activity());
  view.setVisibility(INVISIBLE);
  assertEquals(INVISIBLE, view.getVisibility());
  ViewUtils.setGone(view, true);
  assertEquals(GONE, view.getVisibility());
}