class SimpleEngineManager implements EngineManager {

    @Override
    public Optional<Group> retrieveGroup(String engine, String groupTitle) {
        log.debug("Retrieving group with " + engine);
        if (engines.containsKey(engine)) {
            return engines.get(engine).retrieveGroup(groupTitle);
        }
        return Optional.empty();
    }

}