We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a8599 commit 672d8c6Copy full SHA for 672d8c6
1 file changed
src/test/java/com/jcabi/xml/XMLDocumentTest.java
@@ -177,6 +177,18 @@ void convertsItselfToXml() {
177
);
178
}
179
180
+ @Test
181
+ void printsWithNamespace() {
182
+ MatcherAssert.assertThat(
183
+ new XMLDocument(
184
185
+ "<z xmlns:a='hey'><f a:boom='test'/></z>"
186
+ ).node()
187
+ ).toString(),
188
+ Matchers.containsString("a:boom")
189
+ );
190
+ }
191
+
192
@Test
193
void retrievesDomNode() throws Exception {
194
final XML doc = new XMLDocument(
0 commit comments