Newer
Older
RestfulChecker / src / testcase / twitter / TestGETListsTwitter.java
y-ota on 20 Dec 2018 584 bytes POST Onceに修正
package testcase.twitter;

import restfulchecker.RestParam;
import restfulchecker.RestChecker.Method;

public class TestGETListsTwitter extends TestTwitter {
	public TestGETListsTwitter(String userID,String token) {
		super(token);
		path.add("lists");
		path.add("list.json");
		query.add(new RestParam("user_id", userID));
		check.setupRestTest(Method.GET, query, form, path);
		check.getResourceParam().setPathParams("lists");
		check.getResourceParam().setPathParams("list.json");
		check.getResourceParam().setQueryParams(new RestParam("user_id", userID));
	}
}