Code example for PatternSyntaxException

Methods: getDescription, getIndex, getMessage, getPattern

0
            level = TestLevel.COMPLETE, 
            notes = "", 
            method = "getPattern", 
            args = {} 
        ), 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            notes = "", 
            method = "getIndex", 
            args = {} 
        ), 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            notes = "", 
            method = "getMessage", 
            args = {} 
        ) 
    })           
    public void testPatternSyntaxException() { 
        // Normal case 
        PatternSyntaxException e = new PatternSyntaxException("Foo", "Bar", 0);