Code example for LocatorImpl

Methods: getColumnNumber, getLineNumber, getPublicId, getSystemId

0
public class LocatorImplTest extends TestCase {
 
    public static final String SYS = "mySystemID";
 
    public static final String PUB = "myPublicID";
 
    public static final int ROW = 1;
     
    public static final int COL = 2;
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        method = "LocatorImpl", 
        args = { } 
    ) 
    public void testLocatorImpl() { 
        LocatorImpl l = new LocatorImpl();
         
        assertEquals(null, l.getPublicId());
        assertEquals(null, l.getSystemId());
        assertEquals(0, l.getLineNumber());