source: class ViewUtilsTest {
  
    @Test
    public void setGoneViewInvisible() {
  
target:     View view = new View(new Activity());
      view.setVisibility(GONE);
      assertEquals(GONE, view.getVisibility());
      ViewUtils.setInvisible(view, true);
      assertEquals(INVISIBLE, view.getVisibility());
    }
  
  }