package nl.next35.web;

import nl.next35.domain.User;
import nl.next35.logic.RedditResolver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Lesley
 */
@SpringBootApplication
public class Main {

    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);

        RedditResolver rdr = new RedditResolver();
        System.out.println(rdr.getPosts(new User("Peewbacca")));
    }

}

package nl.next35.web;

import nl.next35.logic.RedditResolver;
import nl.next35.logic.ResolverChain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Lesley
 */
@SpringBootApplication
public class Main {

    private static final ResolverChain chain = new ResolverChain();

    public static void main(String[] args) {
        chain.add(new RedditResolver());

        SpringApplication.run(Main.class, args);
    }

    public static ResolverChain getResolverChain() {
        return chain;
    }

}

Add a resolver to Main (cheaphax).