@@ -0,0 +1,634 @@
+package nl.next35.logic;%0A%0Aimport nl.next35.domain.Post;%0Aimport nl.next35.domain.User;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * @author Lesley%0A */%0Apublic final class ResolverChain %7B%0A%0A    private final List%3CResolver%3E resolvers = new ArrayList%3C%3E();%0A%0A    public List%3CPost%3E resolve(User user) %7B%0A        List%3CPost%3E posts = new ArrayList%3C%3E();%0A%0A        resolvers.stream().map(r -%3E r.getPosts(user)).forEach(posts::addAll);%0A%0A        return posts;%0A    %7D%0A%0A    public void add(Resolver resolver) %7B%0A        resolvers.add(resolver);%0A    %7D%0A%0A    public void remove(Resolver resolver) %7B%0A        resolvers.remove(resolver);%0A    %7D%0A%0A%7D%0A

Add class that can take up multiple resolvers.