VideoDownloader extends Thread implements ServerConstants { public VideoDownloader(String serverContext) { this.serverContext = serverContext; } VideoDownloader(String serverContext); void run();  }
@Test public void testVideoDownloader() throws PhrescoException { PhrescoServerFactory.initialize(); Gson gson = new Gson(); RepositoryManager repoMgr = PhrescoServerFactory.getRepositoryManager(); String videoInfoJSON = repoMgr.getArtifactAsString(ServerConstants.HOMEPAGE_JSON_FILE); Type type = new TypeToken<List<VideoInfo>>() { }.getType(); List<VideoInfo> videoInfoList = gson.fromJson(videoInfoJSON, type); assertNotNull(videoInfoList); }