ExpandedNodeIdConversions { @Nonnull static String expandedNodeIdToString(@Nonnull ExpandedNodeId e) { return e.toParseableString(); } private  ExpandedNodeIdConversions();   }
@Test public void testExpandedNodeIdToString() { ExpandedNodeId e1 = new ExpandedNodeId(ushort(0), Namespaces.OPC_UA, "foo", uint(2)); ExpandedNodeId e2 = new NodeId(1, "bar").expanded(); assertEquals(expandedNodeIdToString(e1), e1.toParseableString()); assertEquals(expandedNodeIdToString(e2), e2.toParseableString()); }