package twitch;

import org.junit.Test;

import app.lsgui.serviceapi.twitch.TwitchProcessor;

public class RemoteTestTwitch {

    TwitchProcessor tm = TwitchProcessor.instance();

    @Test
    public void testGetAPIResponse() {
        @SuppressWarnings("deprecation")
        String a = tm.readJsonFromUrl("https://api.twitch.tv/kraken/streams/elajjaz");
        String b = tm.getAPIResponse("https://api.twitch.tv/kraken/streams/elajjaz");
        assert (a.equals(b));
    }

}

@@ -149,17 +149,17 @@
 cessor t
-m
+p
  = Twitc
@@ -219,271 +219,77 @@
 test
-GetAPIResponse() %7B%0D%0A        @SuppressWarnings(%22deprecation%22)%0D%0A        String a = tm.readJsonFromUrl(%22https://api.twitch.tv/kraken/streams/elajjaz%22);%0D%0A        String b = tm.getAPIResponse(%22https://api.twitch.tv/kraken/streams/elajjaz%22);%0D%0A        assert (a.equals(b
+() %7B%0D%0A        System.out.println(tp.getListOfFollowedStreams(%22nuamor%22
 ));%0D

change test to followedstreams