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 Core Level 1 (unextended). */ public final class RhiDOMImplementation_1 { private DOMImplementation domImplementation; @Before public void before() { domImplementation = Core_1_Test.window().getDocument().getImplementation(); } // ------------------------------------------------------------------------------------ @Test public void hasFeature() { domImplementation.hasFeature( "HTML", "1.0" ); // Only "HTML" and "XML" must be recognized at this level. Ignoring return value, since neither feature is mandatory. domImplementation.hasFeature( "XML", "1.0" ); } }