Newer
Older
RestfulChecker / src / testcase / twitter / TestPOSTcreateTwitter.java
y-ota on 9 Jan 2019 531 bytes format
package testcase.twitter;

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

public class TestPOSTcreateTwitter extends TestTwitter {

	public TestPOSTcreateTwitter() {
		super();
		query.add(new RestParam("name", "test"));
		query.add(new RestParam("mode", "private"));
		path.add("lists");
		path.add("create.json");
		check.setupRestTest(Method.POST, query, form, path);
		check.getResourceParam().setPathParams("lists");
		check.getResourceParam().setPathParams("list.json");
	}

}