@@ -0,0 +1,835 @@
+import java.io.*;%0Aimport java.net.URL;%0Aimport java.net.URLConnection;%0A%0Apublic class AcceptAllPullRequestsTest %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        URL url = new URL(%22https://api.github.com/repos/mrkrstphr/illacceptanything/pulls?state=open%22);%0A        URLConnection connection = url.openConnection();%0A%0A        InputStream inputStream = connection.getInputStream();%0A        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));%0A%0A        String response = bufferedReader.readLine();%0A        bufferedReader.close();%0A%0A        if (response.equals(%22%5B%5D%22)) %7B%0A            System.out.println(%22Hooray!!! You've accepted everything!%22);%0A        %7D else %7B%0A            throw new RuntimeException(%22You've got unmerged pull requests! Get to mergin', slacker!%22);%0A        %7D%0A%0A    %7D%0A%0A%0A%7D

Test for open pull requests