### Question:
XMLFactory { @Nonnull public static DocumentBuilderFactory createDefaultDocumentBuilderFactory () { final DocumentBuilderFactory aDocumentBuilderFactory = DocumentBuilderFactory.newInstance (); aDocumentBuilderFactory.setNamespaceAware (DEFAULT_DOM_NAMESPACE_AWARE); aDocumentBuilderFactory.setValidating (DEFAULT_DOM_VALIDATING); aDocumentBuilderFactory.setIgnoringElementContentWhitespace (DEFAULT_DOM_IGNORING_ELEMENT_CONTENT_WHITESPACE); aDocumentBuilderFactory.setExpandEntityReferences (DEFAULT_DOM_EXPAND_ENTITY_REFERENCES); aDocumentBuilderFactory.setIgnoringComments (DEFAULT_DOM_IGNORING_COMMENTS); aDocumentBuilderFactory.setCoalescing (DEFAULT_DOM_COALESCING); try { aDocumentBuilderFactory.setFeature (EXMLParserFeature.SECURE_PROCESSING.getName (), true); } catch (final ParserConfigurationException ex1) { } try { aDocumentBuilderFactory.setXIncludeAware (DEFAULT_DOM_XINCLUDE_AWARE); } catch (final UnsupportedOperationException ex) { } return aDocumentBuilderFactory; } private  XMLFactory(); static void reinitialize(); @Nonnull static DocumentBuilderFactory createDefaultDocumentBuilderFactory(); @Nonnull static DocumentBuilderFactory createDocumentBuilderFactory(@Nonnull final Schema aSchema); @Nonnull static DocumentBuilderFactory getDocumentBuilderFactory(); @Nonnull static DocumentBuilder getDocumentBuilder(); @Nonnull static DOMImplementation getDOMImplementation(); @Nonnull static DocumentBuilder createDocumentBuilder(); @Nonnull static DocumentBuilder createDocumentBuilder(@Nonnull final Schema aSchema); @Nonnull static DocumentBuilder createDocumentBuilder(@Nonnull final DocumentBuilderFactory aDocBuilderFactory); @Nonnull static Document newDocument(); @Nonnull static Document newDocument(@Nonnull final DocumentBuilder aDocBuilder); @Nonnull static Document newDocument(@Nullable final EXMLVersion eVersion); @Nonnull static Document newDocument(@Nonnull final DocumentBuilder aDocBuilder, @Nullable final EXMLVersion eVersion); @Nonnull static Document newDocument(@Nonnull final String sQualifiedName,
                                      @Nullable final String sPublicId,
                                      @Nullable final String sSystemId); @Nonnull static Document newDocument(@Nullable final EXMLVersion eVersion,
                                      @Nonnull final String sQualifiedName,
                                      @Nullable final String sPublicId,
                                      @Nullable final String sSystemId); @Nonnull static Document newDocument(@Nonnull final DocumentBuilder aDocBuilder,
                                      @Nullable final EXMLVersion eVersion,
                                      @Nonnull final String sQualifiedName,
                                      @Nullable final String sPublicId,
                                      @Nullable final String sSystemId); static final boolean DEFAULT_DOM_NAMESPACE_AWARE; static final boolean DEFAULT_DOM_VALIDATING; static final boolean DEFAULT_DOM_IGNORING_ELEMENT_CONTENT_WHITESPACE; static final boolean DEFAULT_DOM_EXPAND_ENTITY_REFERENCES; static final boolean DEFAULT_DOM_IGNORING_COMMENTS; static final boolean DEFAULT_DOM_COALESCING; static final boolean DEFAULT_DOM_XINCLUDE_AWARE; }### Answer:
@Test public void testCreateDefaultDocumentBuilderFactory () { final DocumentBuilderFactory dbf = XMLFactory.createDefaultDocumentBuilderFactory (); assertNotNull (dbf); assertTrue (dbf.isCoalescing ()); assertTrue (dbf.isIgnoringComments ()); assertTrue (dbf.isNamespaceAware ()); }