package testcase; import java.util.ArrayList; import restfulchecker.RestChecker; import restfulchecker.RestParam; public class TestYouTube { protected RestChecker check = new RestChecker(); protected ArrayList<RestParam> query = new ArrayList<>(); protected ArrayList<RestParam> form = new ArrayList<>(); protected ArrayList<String> path = new ArrayList<>(); protected TestYouTube(String token) { check.setAccount("https://www.googleapis.com/youtube/v3"); query.add(new RestParam("access_token", token)); check.getGetnesParam().setQueryParams(new RestParam("access_token", token)); } public void start() { check.doRestTest(); } }