Test framework for sms client code.
[aaf/sms.git] / sms-client / src / java / main / SmsClient.java
index ce48f72..17a9f16 100644 (file)
@@ -91,14 +91,14 @@ public class SmsClient implements SmsInterface {
         return(m);
     }
 
-    private Map<String, Object> strtomap(String r) throws JSONException {
+    protected Map<String, Object> strtomap(String r) throws JSONException {
         JSONObject jobj = null;
 
         jobj = new JSONObject(r);
         return(jsontomap(jobj));
 
     }
-    private SmsResponse execute(String reqtype, String t, String ins, boolean input, boolean output) {
+    protected SmsResponse execute(String reqtype, String t, String ins, boolean input, boolean output) {
 
         HttpsURLConnection conn;
         int errorcode = -1;