@Test public void getIdReturnsId() { assertEquals(mUrlDevice1.getId(), ID1); }
public String getId() { return mId; }
UrlDevice { public String getId() { return mId; } }
UrlDevice { public String getId() { return mId; } private  UrlDevice(String id, String url, JSONObject extraData);  UrlDevice(String id, String url); }
UrlDevice { public String getId() { return mId; } private  UrlDevice(String id, String url, JSONObject extraData);  UrlDevice(String id, String url); String getId(); String getUrl(); boolean getExtraBoolean(String key); boolean optExtraBoolean(String key); boolean optExtraBoolean(String key, boolean defaultValue); int getExtraInt(String key); int optExtraInt(String key); int optExtraInt(String key, int defaultValue); long getExtraLong(String key); long optExtraLong(String key); long optExtraLong(String key, long defaultValue); double getExtraDouble(String key); double optExtraDouble(String key); double optExtraDouble(String key, double defaultValue); String getExtraString(String key); String optExtraString(String key); String optExtraString(String key, String defaultValue); JSONArray getExtraJSONArray(String key); JSONArray optExtraJSONArray(String key); JSONObject getExtraJSONObject(String key); JSONObject optExtraJSONObject(String key); JSONObject jsonSerialize(); static UrlDevice jsonDeserialize(JSONObject jsonObject); int hashCode(); boolean equals(Object other); int compareTo(UrlDevice other); }
UrlDevice { public String getId() { return mId; } private  UrlDevice(String id, String url, JSONObject extraData);  UrlDevice(String id, String url); String getId(); String getUrl(); boolean getExtraBoolean(String key); boolean optExtraBoolean(String key); boolean optExtraBoolean(String key, boolean defaultValue); int getExtraInt(String key); int optExtraInt(String key); int optExtraInt(String key, int defaultValue); long getExtraLong(String key); long optExtraLong(String key); long optExtraLong(String key, long defaultValue); double getExtraDouble(String key); double optExtraDouble(String key); double optExtraDouble(String key, double defaultValue); String getExtraString(String key); String optExtraString(String key); String optExtraString(String key, String defaultValue); JSONArray getExtraJSONArray(String key); JSONArray optExtraJSONArray(String key); JSONObject getExtraJSONObject(String key); JSONObject optExtraJSONObject(String key); JSONObject jsonSerialize(); static UrlDevice jsonDeserialize(JSONObject jsonObject); int hashCode(); boolean equals(Object other); int compareTo(UrlDevice other);  }