package testcase; import java.util.ArrayList; import restfulchecker.RemoveJsonParam; import restfulchecker.RestParam; import restfulchecker.RestChecker.Method; public class TestGETYouTube extends TestYouTube { public TestGETYouTube(String token) { super(token); query.add(new RestParam("mine", "true")); query.add(new RestParam("part", "id")); path.add("playlists"); check.getResourceParam().setQueryParams(new RestParam("mine", "true")); check.getResourceParam().setQueryParams(new RestParam("part", "id")); check.getResourceParam().setPathParams("playlists"); check.setRemoveParam(new RemoveJsonParam("etag", new ArrayList<>())); check.setupRestTest(Method.GET, query, form, path); } }