class SimpleEngineManager implements EngineManager {

    @Override
    public Set<Group> getGroups(String engine) {
        log.debug("Getting groups with " + engine);
        if (engines.containsKey(engine)) {
            return engines.get(engine).getGroups();
        }
        return new HashSet<>();
    }

}