use of eu.bcvsolutions.idm.core.model.event.processor.module.ModuleDisableProcessor in project CzechIdMng by bcvsolutions.
the class DefaultModuleServiceUnitTest method testIsDisableable.
@Test(expected = ModuleNotDisableableException.class)
public void testIsDisableable() {
ModuleDisableProcessor disableProcessor = new ModuleDisableProcessor();
ModuleDescriptorDto moduleDescriptor = new ModuleDescriptorDto(ModuleDescriptorOne.MODULE_ID);
moduleDescriptor.setDisableable(false);
//
disableProcessor.process(new ModuleDescriptorEvent(ModuleDescriptorEventType.DISABLE, moduleDescriptor));
}
Aggregations