### Question:
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);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testDisableMvcRequiresNonNullBundle() { this.testee.disableMvc(null); }