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.
2 parents 0eeb252 + a475a90 commit 0316ed0Copy full SHA for 0316ed0
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