package testcase.twitter; import restfulchecker.RestParam; import restfulchecker.RestChecker.Method; public class TestPOSTdestroyTwitter extends TestTwitter { private String destroyvalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547105207\",oauth_nonce=\"ptwXcz\",oauth_version=\"1.0\",oauth_signature=\"t%2Bho4TlwMi23jJpTYtGQbjNrci4%3D\""; public TestPOSTdestroyTwitter(String ListID) { super(); query.add(new RestParam("list_id", ListID)); path.add("lists"); path.add("destroy.json"); check.setProperty("Authorization", destroyvalue); check.setupRestTest(Method.POST, query, form, path); check.getResourceParam().setPathParams("lists"); check.getResourceParam().setPathParams("list.json"); } }