@Test public void removeFromParent_whenViewIsNull_shouldPass() throws Exception { Views.removeFromParent(null); }
public static void removeFromParent(View view) { if (view == null || view.getParent() == null) { return; } if (view.getParent() instanceof ViewGroup) { ((ViewGroup) view.getParent()).removeView(view); } }
Views { public static void removeFromParent(View view) { if (view == null || view.getParent() == null) { return; } if (view.getParent() instanceof ViewGroup) { ((ViewGroup) view.getParent()).removeView(view); } } }
Views { public static void removeFromParent(View view) { if (view == null || view.getParent() == null) { return; } if (view.getParent() instanceof ViewGroup) { ((ViewGroup) view.getParent()).removeView(view); } }  }
Views { public static void removeFromParent(View view) { if (view == null || view.getParent() == null) { return; } if (view.getParent() instanceof ViewGroup) { ((ViewGroup) view.getParent()).removeView(view); } }  static void removeFromParent(View view); }
Views { public static void removeFromParent(View view) { if (view == null || view.getParent() == null) { return; } if (view.getParent() instanceof ViewGroup) { ((ViewGroup) view.getParent()).removeView(view); } }  static void removeFromParent(View view);  }