Newer
Older
RestfulChecker / src / testcase / twitter / TestPOSTupdateTwitter.java
yoichiro on 8 Jan 2019 652 bytes destroyとupdateの中身を作成
package testcase.twitter;

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

public class TestPOSTupdateTwitter extends TestTwitter {

	public TestPOSTupdateTwitter(String userID, String ListID, String name) {
		super();
		query.add(new RestParam("list_id", ListID));
		query.add(new RestParam("name", name));
		path.add("lists");
		path.add("update.json");
		check.setupRestTest(Method.POST, query, form, path);
		check.getResourceParam().setPathParams("lists");
		check.getResourceParam().setPathParams("list.json");
		check.getResourceParam().setQueryParams(new RestParam("screen_name", userID));
	}

}