SynchronizePluginableContainerListener implements PluginableElementEventListener<T> { @Override public void elementChanged(T element) { destination.changeElement(element); } SynchronizePluginableContainerListener(PluginableElementsContainer<T> destination); @Override void elementAdded(T element); @Override void elementRemoved(T element); @Override void elementChanged(T element);  }
@Test public void testElementChanged() { SoapMessageFormatter element = new SoapMessageFormatter(); s.elementChanged(element); verify(d, only()).changeElement(element); }