@Test
public void setVisibleViewInvisible() {

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