class ServerInfoResolverAdapter implements ServerInfoResolver {

    @Override
    public Optional<ServerInfo> resolve(String serverType) {
        return Optional.ofNullable(serverInfoByName.get(serverType));
    }

    public  ServerInfoResolverAdapter(ServerInfoResolver delegate, Function<ServerInfo, ServerInfo> adapter);

}