Views { public static void invisible(View view) { if (view != null) { view.setVisibility(View.INVISIBLE); } } private  Views(); static void visible(View view); static void invisible(View view); static void gone(View view);  }
@Test public void setViewVisibilityInvisible() { Views.invisible(mockView); verify(mockView, times(1)).setVisibility(View.INVISIBLE); }