Code example for DocumentType

Methods: getSystemId

0
     *  
     * @throws Throwable 
     *             Any uncaught exception causes test to fail 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getSystemId", 
        args = {} 
    ) 
    public void testGetSystemId() throws Throwable { 
        Document doc;
        DocumentType docType;
        String systemId;
 
        doc = (Document) load("staffNS", builder);
        docType = doc.getDoctype();
        systemId = docType.getSystemId();
        assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, 
                null, null, null, systemId);
    }