KeyCloakGroupManager extends BaseKeyCloakManager implements GroupManager,
                                                                         ContextualManager { @Override public Group update(Group entity) throws SecurityManagementException { throw new UnsupportedServiceCapabilityException(Capability.CAN_UPDATE_GROUP); } 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(expected = UnsupportedServiceCapabilityException.class) public void testUpdateGroup() { groupsManager.update(SecurityManagementUtils.createGroup("id1")); }