Code example for BreakIterator

Methods: next, setText

0
     * @tests java.text.BreakIterator#BreakIterator() Test of method 
     *        java.text.BreakIterator#BreakIterator(). 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "BreakIterator", 
        args = {} 
    ) 
    public void testConstructor() { 
        try { 
            new MockBreakIterator(); 
        } catch (Exception e) {
            fail("Unexpected exception " + e.toString());
        } 
    } 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "first", 
        args = {}