KeyCloakGroupManager extends BaseKeyCloakManager implements GroupManager,
                                                                         ContextualManager { @Override public GroupManagerSettings getSettings() { final Map<Capability, CapabilityStatus> capabilityStatusMap = new HashMap<Capability, CapabilityStatus>(8); for (final Capability capability : SecurityManagementUtils.GROUPS_CAPABILITIES) { capabilityStatusMap.put(capability, getCapabilityStatus(capability)); } return new GroupManagerSettingsImpl(capabilityStatusMap, true); } KeyCloakGroupManager(); @Override void initialize(UserSystemManager userSystemManager); @Override SearchResponse<Group> search(SearchRequest request); @Override Group get(String identifier); @Override List<Group> getAll(); @Override Group create(Group entity); @Override Group update(Group entity); @Override void delete(String... identifiers); @Override GroupManagerSettings getSettings(); @Override void assignUsers(String name,
                            Collection<String> users); @Override void destroy();  }
@Test public void testAllowsEmpty() { assertTrue(groupsManager.getSettings().allowEmpty()); }