package textbender.a.b.rhinohideDemo._.core; import org.junit.*; import org.w3c.dom.*; import textbender.a.b.rhinohideDemo._.*; import static org.junit.Assert.*; /** Test of XML Level 1 (Core Level 1, extended). */ public final class RhiDocument_XML_1 { private Document document; @Before public void before() { document = Core_1_Test.window().getDocument(); } // ------------------------------------------------------------------------------------ @Test public void createCDATASection() { assertNotNull( document.createCDATASection( "test string for CDATA" )); } @Test public void createEntityReference() { assertNotNull( document.createEntityReference( "amp" )); // or should it be '&'? } @Test public void createProcessingInstruction() { assertNotNull( document.createProcessingInstruction( "testProcessingInstruction", "PI content" )); } }