private UserGroupAuditLogCollector accessToServices( UserGroupAuditLogOperation operation, UserGroup group, List<Product> products) throws ObjectNotFoundException { AuditLogData.clear(); logCollector.accessToServices(dsMock, operation, group, products, MARKETPLACEID); return logCollector; }
@Test public void assignToMarketPlace() { AuditLogData.clear(); logCollector.assignToMarketPlace(dsMock, createService(), MARKETPLACE_ID, MARKETPLACE_NAME); // then verifyLogEntriesForAssignToMarketplace(); }
@Test public void setServiceAsPublic() { AuditLogData.clear(); logCollector.setServiceAsPublic(dsMock, createService(), SERVICE_PUBLIC); // then verifyLogEntriesForSetPublicService(); }
@Test public void assignCategories() { AuditLogData.clear(); logCollector.assignCategories(dsMock, createService(), createCatagory()); // then verifyLogEntriesForAssignCategories(); }
private UserGroupAuditLogCollector removeUsersFromGroup( UserGroup group, List<PlatformUser> users) { AuditLogData.clear(); logCollector.removeUsersFromGroup(dsMock, group, users); return logCollector; }
private UserGroupAuditLogCollector removeUserFromGroups( List<UserGroup> groups, PlatformUser user) { AuditLogData.clear(); logCollector.removeUserFromGroups(dsMock, groups, user); return logCollector; }
private UserGroupAuditLogCollector assignUsersToGroup(UserGroup group, List<PlatformUser> users) { AuditLogData.clear(); logCollector.assignUsersToGroup(dsMock, group, users); return logCollector; }
private UserGroupAuditLogCollector assignUserToGroups(List<UserGroup> groups, PlatformUser user) { AuditLogData.clear(); logCollector.assignUserToGroups(dsMock, groups, user); return logCollector; }
private ServiceAuditLogCollector localizeService( Product product, VOServiceLocalization oldLocalization, VOServiceLocalization localization) { AuditLogData.clear(); logCollector.localizeService(dsMock, product, oldLocalization, localization); return logCollector; }