question: public void test_getIterator ( ) { String test = "Test string" ; try { AttributedString attrString = new AttributedString ( test ) ; AttributedCharacterIterator it = attrString . getIterator ( ) ; assertEquals ( "Incorrect iteration on AttributedString" , it . first ( ) , test . charAt ( 0 ) ) ; } catch ( Exception e ) { fail ( "Unexpected exceptiption " + e . toString ( ) ) ; } }
target:  java.text.AttributedString#getIterator() Test of method java.text.AttributedString#getIterator().