@Test(expected = IllegalArgumentException.class) public void testDisableMvcRequiresNonNullBundle() { this.testee.disableMvc(null); }
public void disableMvc(Bundle bundle) { if (bundle == null) { throw new IllegalArgumentException("Method argument bundle must not be null."); } this.mvcCapableBundles.remove(bundle); }
MvcServlet extends SlingAllMethodsServlet { public void disableMvc(Bundle bundle) { if (bundle == null) { throw new IllegalArgumentException("Method argument bundle must not be null."); } this.mvcCapableBundles.remove(bundle); } }
MvcServlet extends SlingAllMethodsServlet { public void disableMvc(Bundle bundle) { if (bundle == null) { throw new IllegalArgumentException("Method argument bundle must not be null."); } this.mvcCapableBundles.remove(bundle); }  }
MvcServlet extends SlingAllMethodsServlet { public void disableMvc(Bundle bundle) { if (bundle == null) { throw new IllegalArgumentException("Method argument bundle must not be null."); } this.mvcCapableBundles.remove(bundle); }  void enableMvc(ConfigurableListableBeanFactory factory, BundleContext context); void disableMvc(Bundle bundle); }
MvcServlet extends SlingAllMethodsServlet { public void disableMvc(Bundle bundle) { if (bundle == null) { throw new IllegalArgumentException("Method argument bundle must not be null."); } this.mvcCapableBundles.remove(bundle); }  void enableMvc(ConfigurableListableBeanFactory factory, BundleContext context); void disableMvc(Bundle bundle);  }