### Question:
SiteMapConfigurationImpl implements SiteMapConfiguration { @Deactivate public void deactivate() { container.remove(this); }  @Activate void activate(final SiteMapConfigurationImplConfig config); @Deactivate void deactivate(); @Override Pattern getPagePathPattern(); @Override PageRecognizer getPageRecognizer(); @Override UrlExternalizer getUrlExternalizer(); @Override Map<String, String> getXmlNamespaces(); @Override Collection<PropertyProvider> getPropertyProviders(); @Override Set<String> getMandatoryCachedPaths();  }### Answer:
@Test public void enabled() { verify(container, times(1)).add(model); model.deactivate(); verify(container, times(1)).remove(model); }
@Test public void disabled() { verify(container, times(1)).add(model); activateDisabled(); verify(container, times(1)).add(model); model.deactivate(); verify(container, times(1)).remove(model); }