We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a045fd commit a475a90Copy full SHA for a475a90
src/test/java/org/zendesk/client/v2/model/ActionTest.java
@@ -42,4 +42,11 @@ public void testActionWithValues() throws Exception {
42
assertEquals("huu", action.getValue()[0]);
43
assertEquals("haa", action.getValue()[1]);
44
}
45
+
46
+ @Test
47
+ public void testToString() {
48
+ String json = "{ \"field\": 21337631753, \"value\": \"huuhaa\" }";
49
+ Action action = parseJson(json.getBytes());
50
+ assertEquals("Action{field=\'21337631753\', value=[huuhaa]}", action.toString());
51
+ }
52
0 commit comments