package testcase.twitter; import restfulchecker.RestParam; import restfulchecker.RestChecker.Method; public class TestPOSTcreateTwitter extends TestTwitter { public TestPOSTcreateTwitter(String userID) { 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"); check.getResourceParam().setQueryParams(new RestParam("screen_name", userID)); } }