MCPcopy
hub / github.com/OpenTSDB/opentsdb / parseToObjectStringBad

Method parseToObjectStringBad

test/utils/TestJSON.java:77–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 @Test (expected = IllegalArgumentException.class)
78 public void parseToObjectStringBad() throws Exception {
79 String json = "{\"notgonnafinish";
80 JSON.parseToObject(json, HashMap.class);
81 }
82
83 @Test (expected = IllegalArgumentException.class)
84 public void parseToObjectStringBadMap() throws Exception {

Callers

nothing calls this directly

Calls 1

parseToObjectMethod · 0.95

Tested by

no test coverage detected