### Question:
IndentingXMLStreamWriter implements XMLStreamWriter { @Override public NamespaceContext getNamespaceContext() { return next.getNamespaceContext(); } IndentingXMLStreamWriter(final XMLStreamWriter next); @Override void close(); @Override void flush(); @Override NamespaceContext getNamespaceContext(); @Override String getPrefix(final String uri); @Override Object getProperty(final String name); @Override void setDefaultNamespace(final String uri); @Override void setNamespaceContext(final NamespaceContext context); @Override void setPrefix(final String prefix, final String uri); @Override void writeAttribute(final String localName, final String value); @Override void writeAttribute(final String namespaceURI, final String localName, final String value); @Override void writeAttribute(final String prefix, final String namespaceURI, final String localName,
            final String value); @Override void writeCData(final String data); @Override void writeCharacters(final String text); @Override void writeCharacters(final char[] text, final int start, final int len); @Override void writeComment(final String data); @Override void writeDTD(final String dtd); @Override void writeDefaultNamespace(final String namespaceURI); @Override void writeEmptyElement(final String localName); @Override void writeEmptyElement(final String namespaceURI, final String localName); @Override void writeEmptyElement(final String prefix, final String localName, final String namespaceURI); @Override void writeEndDocument(); @Override void writeEndElement(); @Override void writeEntityRef(final String name); @Override void writeNamespace(final String prefix, final String namespaceURI); @Override void writeProcessingInstruction(final String target); @Override void writeProcessingInstruction(final String target, final String data); @Override void writeStartDocument(); @Override void writeStartDocument(final String version); @Override void writeStartDocument(final String encoding, final String version); @Override void writeStartElement(final String localName); @Override void writeStartElement(final String namespaceURI, final String localName); @Override void writeStartElement(final String prefix, final String localName, final String namespaceURI);  }### Answer:
@Test public void testGetNamespaceContext() { NamespaceContext context = out.getNamespaceContext(); assertTrue(context.getNamespaceURI(NAMESPACE).equals(NAMESPACE)); }