Code example for LocatorImpl

Methods: getSystemId, setSystemId

0
         
        // No locator 
        try { 
            outer = new LocatorImpl(null);
            fail("NullPointerException expected");
        } catch (NullPointerException e) {
            // Expected 
        } 
    } 
 
    @TestTargets({ 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            method = "setPublicId", 
            args = { String.class }
        ), 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            method = "getPublicId", 
            args = { } 
        )