Code example for SAXNotSupportedException

Methods: getMessage

0
public class SAXNotSupportedExceptionTest extends TestCase {
 
    public static final String ERR = "Houston, we have a problem";
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        method = "SAXNotSupportedException", 
        args = { } 
    ) 
    public void testSAXNotSupportedException() { 
        SAXNotSupportedException e = new SAXNotSupportedException();
        assertNull(e.getMessage());
    } 
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        method = "SAXNotSupportedException", 
        args = { String.class }
    ) 
    public void testSAXNotSupportedException_String() { 
        SAXNotSupportedException e = new SAXNotSupportedException(ERR);