package testcase; import java.util.ArrayList; import restfulchecker.*; import restfulchecker.RestChecker.Method; public class TestPUTCactus { private RestChecker check = new RestChecker(); private ArrayList<RestParam> query = new ArrayList<>(); private ArrayList<RestParam> form = new ArrayList<>(); private ArrayList<String> path = new ArrayList<>(); public TestPUTCactus(String userID, String userPass) { form.add(new RestParam("userID", userID)); form.add(new RestParam("userPass", userPass)); check.setupRestTest(Method.PUT, query, form, path); } public void start() { check.doRestTest(); } }