ESHttpUtils { @NotNull public static DocumentBuilder createDocumentBuilder() { try { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); return factory.newDocumentBuilder(); } catch (final ParserConfigurationException ex) { throw new RuntimeException("Couldn't create document builder", ex); } } private  ESHttpUtils(); @Nullable static String findContentText(final Node rootNode, final XPath xPath, final String expression); @Nullable static Integer findContentInteger(final Node rootNode, final XPath xPath,
            final String expression); @Nullable static Node findNode(@NotNull final Node rootNode, @NotNull final XPath xPath,
            @NotNull final String expression); @Nullable static NodeList findNodes(@NotNull final Node rootNode, @NotNull final XPath xPath,
            @NotNull final String expression); @NotNull static Document parseDocument(@NotNull final DocumentBuilder builder,
            @NotNull final InputStream inputStream); @NotNull static XPath createXPath(@Nullable final String... values); @NotNull static DocumentBuilder createDocumentBuilder(); static String yesNo(final boolean b);  }
@Test public void testCreateDocumentBuilder() { assertThat(ESHttpUtils.createDocumentBuilder().isNamespaceAware()).isTrue(); }