package testcase; import restfulchecker.RestParam; import restfulchecker.RestChecker.Method; public class TestDELETEYouTube extends TestYouTube { public TestDELETEYouTube(String token, String id) { super(token); check.getGetnesParam().setPathParams("playlists"); check.getGetnesParam().setQueryParams(new RestParam("mine", "true")); check.getGetnesParam().setQueryParams(new RestParam("part", "id")); path.add("playlists"); query.add(new RestParam("id", id)); check.setupRestTest(Method.DELETE, query, form, path); } }