setUpResolverProvider(factory1, factory2);
underTest = new DefaultManagedSlotMappingConfiguration(resolverProvider,
slotMappingInitializer, visualizationModel, errorModel);
VisualItemContainerChangeEventHandler visualItemContainerHandler = captureVisualItemContainerChangeEventHandler();
ManagedSlotMappingConfigurationChangedEventHandler handler = mock(ManagedSlotMappingConfigurationChangedEventHandler.class);
underTest
.addManagedSlotMappingConfigurationChangedEventHandler(handler);
VisualItemContainerChangeEvent event = new VisualItemContainerChangeEvent(
visualItemContainer, Delta.createAddedDelta(CollectionFactory
.<VisualItem> createLightweightList()));
visualItemContainerHandler.onVisualItemContainerChanged(event);
verify(handler, never()).onSlotMappingStateChanged(
any(ManagedSlotMappingConfigurationChangedEvent.class));
}