* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
}
// System.out.println(nodes);
}
+
+ @Test
+ public void testToStringWithValue()
+ {
+ nodes = StructuredPropertyHelper.getStructuredProperties(properties, "node");
+ Node node = nodes.get(0);
+ node.setName("testName");
+ node.setValue("testValue");
+ String str= node.toString();
+ assertEquals("testName = testValue",str);
+ }
+
+
}