Newer
Older
RestfulChecker / src / testcase / TestGETYouTube.java
yoichiro on 13 Dec 2018 732 bytes rename
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);
	}
}