diff --git a/nodes/src/test/java/io/aexp/nodes/graphql/ParameterTest.java b/nodes/src/test/java/io/aexp/nodes/graphql/ParameterTest.java index c1f82c9..56f60b6 100644 --- a/nodes/src/test/java/io/aexp/nodes/graphql/ParameterTest.java +++ b/nodes/src/test/java/io/aexp/nodes/graphql/ParameterTest.java @@ -38,4 +38,9 @@ public void parameterSetterTest() { assertEquals(value, parameter.getValue()); } + @Test + public void parameterStringTest() { + Parameter parameter = new Parameter("key", "value"); + assertEquals("Parameter{key='key', value=value}", parameter.toString()); + } }