test_class.declarator: identityService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private IdmIdentityService identityService;
test_class.type: IdmIdentityService
test_class.var_name: identityService
test_class.declarator: notificationLogService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private IdmNotificationLogService notificationLogService;
test_class.type: IdmNotificationLogService
test_class.var_name: notificationLogService
test_class.declarator: loginIdentity
test_class.modifier: private
test_class.original_string: private IdmIdentityDto loginIdentity;
test_class.type: IdmIdentityDto
test_class.var_name: loginIdentity
test_class.file: Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/bulk/action/impl/IdentityDisableBulkActionTest.java
test_class.identifier: IdentityDisableBulkActionTest
test_class.superclass: extends AbstractBulkActionTest
test_case.body: @Test
  	public void checkNotification() {
  		List<IdmIdentityDto> identities = this.createIdentities(5);
  		
  		IdmBulkActionDto bulkAction = this.findBulkAction(IdmIdentity.class, IdentityDisableBulkAction.NAME);
  		Set<UUID> ids = this.getIdFromList(identities);
  		bulkAction.setIdentifiers(ids);
  		IdmBulkActionDto processAction = bulkActionManager.processAction(bulkAction);
  		
  		checkResultLrt(processAction, 5l, null, null);
  		
  		IdmNotificationFilter filter = new IdmNotificationFilter();
  		filter.setRecipient(loginIdentity.getUsername());
  		filter.setNotificationType(IdmEmailLog.class);
  		List<IdmNotificationLogDto> notifications = notificationLogService.find(filter, null).getContent();
  		
  		assertEquals(1, notifications.size());
  		
  		IdmNotificationLogDto notificationLogDto = notifications.get(0);
  		assertEquals(IdmEmailLog.NOTIFICATION_TYPE, notificationLogDto.getType());
  		assertTrue(notificationLogDto.getMessage().getHtmlMessage().contains(bulkAction.getName()));
  	}
test_case.class_method_signature: IdentityDisableBulkActionTest.checkNotification()
test_case.full_signature: @Test public void checkNotification()
test_case.identifier: checkNotification
test_case.invocations: createIdentities findBulkAction getIdFromList setIdentifiers processAction checkResultLrt setRecipient getUsername setNotificationType getContent find assertEquals size get assertEquals getType assertTrue contains getHtmlMessage getMessage getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void checkNotification()
focal_class.declarator: NAME = "identity-disable-bulk-action"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "identity-disable-bulk-action";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: identityService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private IdmIdentityService identityService;
focal_class.type: IdmIdentityService
focal_class.var_name: identityService
focal_class.file: Realization/backend/core/core-impl/src/main/java/eu/bcvsolutions/idm/core/bulk/action/impl/IdentityDisableBulkAction.java
focal_class.identifier: IdentityDisableBulkAction
focal_class.class_method_signature: IdentityDisableBulkAction.processDto(IdmIdentityDto dto)
focal_class.full_signature: @Override protected OperationResult processDto(IdmIdentityDto dto)
focal_class.identifier: processDto
focal_class.modifiers: @Override protected
focal_class.parameters: (IdmIdentityDto dto)
focal_class.return: OperationResult
focal_class.signature: OperationResult processDto(IdmIdentityDto dto)
focal_class.class_method_signature: IdentityDisableBulkAction.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: IdentityDisableBulkAction.getAuthoritiesForEntity()
focal_class.full_signature: @Override protected List<String> getAuthoritiesForEntity()
focal_class.identifier: getAuthoritiesForEntity
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getAuthoritiesForEntity()
focal_class.class_method_signature: IdentityDisableBulkAction.getOrder()
focal_class.full_signature: @Override public int getOrder()
focal_class.identifier: getOrder
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getOrder()
focal_class.class_method_signature: IdentityDisableBulkAction.getLevel()
focal_class.full_signature: @Override public NotificationLevel getLevel()
focal_class.identifier: getLevel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: NotificationLevel
focal_class.signature: NotificationLevel getLevel()
focal_class.class_method_signature: IdentityDisableBulkAction.getService()
focal_class.full_signature: @Override public ReadWriteDtoService<IdmIdentityDto, IdmIdentityFilter> getService()
focal_class.identifier: getService
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ReadWriteDtoService<IdmIdentityDto, IdmIdentityFilter>
focal_class.signature: ReadWriteDtoService<IdmIdentityDto, IdmIdentityFilter> getService()
focal_class.superclass: extends AbstractBulkAction<IdmIdentityDto, IdmIdentityFilter>
focal_method.body: @Override
  	public String getName() {
  		return NAME;
  	}
focal_method.class_method_signature: IdentityDisableBulkAction.getName()
focal_method.full_signature: @Override public String getName()
focal_method.identifier: getName
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getName()