public TestCreateOMDocTypeWithoutParent(OMMetaFactory metaFactory) {
super(metaFactory);
}
protected void runTest() throws Throwable {
OMDocType dtd = metaFactory.getOMFactory().createOMDocType(null, "root", "publicId", "systemId", "internalSubset");
assertNull(dtd.getParent());
assertEquals("root", dtd.getRootName());
assertEquals("publicId", dtd.getPublicId());
assertEquals("systemId", dtd.getSystemId());
assertEquals("internalSubset", dtd.getInternalSubset());
}