### Question:
XMLDebug { @Nonnull public static String getNodeTypeAsString (final int nNodeType) { final EXMLDOMNodeType eNodeType = EXMLDOMNodeType.getFromIDOrNull (nNodeType); if (eNodeType != null) return eNodeType.name (); if (LOGGER.isWarnEnabled ()) LOGGER.warn ("Unknown Node type " + nNodeType); return Integer.toString (nNodeType); } private  XMLDebug(); @Nonnull @ReturnsMutableCopy static ICommonsMap <EXMLDOMFeatureVersion, ICommonsList <String>> getAllSupportedFeatures(); @Nullable @ReturnsMutableCopy static ICommonsList <String> getAllSupportedFeatures(@Nonnull final EXMLDOMFeatureVersion eFeatureVersion); static void debugLogDOMFeatures(); @Nonnull static String getNodeTypeAsString(final int nNodeType);  }### Answer:
@Test public void testGetNodeTypeAsString () { assertNotNull (XMLDebug.getNodeTypeAsString (Node.ELEMENT_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.ATTRIBUTE_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.TEXT_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.CDATA_SECTION_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.ENTITY_REFERENCE_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.ENTITY_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.PROCESSING_INSTRUCTION_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.COMMENT_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.DOCUMENT_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.DOCUMENT_TYPE_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.DOCUMENT_FRAGMENT_NODE)); assertNotNull (XMLDebug.getNodeTypeAsString (Node.NOTATION_NODE)); assertEquals ("999", XMLDebug.getNodeTypeAsString (999)); for (final EXMLDOMNodeType eType : EXMLDOMNodeType.values ()) assertNotNull (XMLDebug.getNodeTypeAsString (eType.getID ())); }