Buggy code:
; private static final String [ ] EMPTY_ARRAY_LIST = new String [ ] { } ; private static final String [ ] NULL_ARRAY_LIST = new String [ ] { null } ; private static final String [ ] MIXED_ARRAY_LIST = new String [ ] { null , "" , "foo" } ; private static final Object [ ] MIXED_TYPE_LIST = new Object [ ] { new String ( "foo" ) , new Long ( 2 ) } ; private static final String SEPARATOR = "," ; private static final char SEPARATOR_CHAR = ';' ; private static final String TEXT_LIST = "foo,bar,baz" ; private static final String TEXT_LIST_CHAR = "foo;bar;baz" ; private static final String TEXT_LIST_NOSEP = "foobarbaz" ; private static final String FOO_UNCAP = "foo" ; private static final String FOO_CAP = "Foo" ; private static final String SENTENCE_UNCAP = "foo<seq2seq4repair_space>bar<seq2seq4repair_space>baz" ; private static final String SENTENCE_CAP = "Foo<seq2seq4repair_space>Bar<seq2seq4repair_space>Baz" ; public StringUtilsTest ( String name ) { } public static void main ( String [ ] args ) { } public static Test suite ( ) { } protected void setUp ( ) throws Exception { } protected void tearDown ( ) throws Exception { } public void testConstructor ( ) { } public void testCaseFunctions ( ) { } public void testSwapCase_String ( ) { } public void testJoin_Objectarray ( ) { } public void testJoin_ArrayChar ( ) { } public void testJoin_ArrayString ( ) { } public void testJoin_IteratorChar ( ) { } public void testJoin_IteratorString ( ) { } public void testJoin_CollectionChar ( ) { } public void testJoin_CollectionString ( ) { } public void testDeprecatedConcatenate_Objectarray ( ) { } public void testSplit_String ( ) { } public void testSplit_StringChar ( ) { } public void testSplit_StringString_StringStringInt ( ) { } private void innerTestSplit ( char separator , String sepStr , char noMatch ) { } public void testSplitByWholeString_StringStringBoolean ( ) { } public void testSplitByWholeString_StringStringBooleanInt ( ) { } public void testSplitByWholeSeparatorPreserveAllTokens_StringStringInt ( ) { } public void testSplitPreserveAllTokens_String ( ) { } public void testSplitPreserveAllTokens_StringChar ( ) { } public void testSplitPreserveAllTokens_StringString_StringStringInt ( ) { } private void innerTestSplitPreserveAllTokens ( char separator , String sepStr , char noMatch ) { } public void testSplitByCharacterType ( ) { } public void testSplitByCharacterTypeCamelCase ( ) { } public void testDeprecatedDeleteSpace_String ( ) { } public void testDeleteWhitespace_String ( ) { } public void testReplace_StringStringString ( ) { } public void testReplace_StringStringStringInt ( ) { } public void testReplaceOnce_StringStringString ( ) { } public void testReplace_StringStringArrayStringArray ( ) { } public void testReplace_StringStringArrayStringArrayBoolean ( ) { assertNull ( StringUtils . replaceEachRepeatedly ( null , new String [ ] { "a" } , new String [ ] { "b" } ) ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "" , new String [ ] { "a" } , new String [ ] { "b" } ) , "" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , null , null ) , "aba" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , new String [ 0 ] , null ) , "aba" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , null , new String [ 0 ] ) , "aba" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , new String [ 0 ] , null ) , "aba" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , new String [ ] { "a" } , new String [ ] { "" } ) , "b" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "aba" , new String [ ] { null } , new String [ ] { "a" } ) , "aba" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "abcde" , new String [ ] { "ab" , "d" } , new String [ ] { "w" , "t" } ) , "wcte" ) ; assertEquals ( StringUtils . replaceEachRepeatedly ( "abcde" , new String [ ] { "ab" , "d" } , new String [ ] { "d" , "t" } ) , "tcte" ) ; try { StringUtils . replaceEachRepeatedly ( "abcde" , new String [ ] { "ab" , "d" } , new String [ ] { "d" , "ab" } ) ; fail ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>a<seq2seq4repair_space>circular<seq2seq4repair_space>reference" ) ; <START_BUG> } catch ( IllegalArgumentException e ) { <END_BUG> } } public void testReplaceChars_StringCharChar ( ) { } public void testReplaceChars_StringStringString ( ) { } public void testDeprecatedOverlayString_StringStringIntInt ( ) { } public void testOverlay_StringStringIntInt ( ) { } public void testRepeat_StringInt ( ) { } public void testDeprecatedChompFunctions ( ) { } public void testChop ( ) { } public void testChomp ( ) { } public void testChopNewLine ( ) { } public void testRightPad_StringInt ( ) { } public void testRightPad_StringIntChar ( ) { } public void testRightPad_StringIntString ( ) { } public void testLeftPad_StringInt ( ) { } public void testLeftPad_StringIntChar ( ) { } public void testLeftPad_StringIntString ( ) { } public void testCenter_StringInt ( ) { } public void testCenter_StringIntChar ( ) { } public void testCenter_StringIntString ( ) { } public void testReverse_String ( ) { } public void testReverseDelimited_StringChar ( ) { } public void testDeprecatedReverseDelimitedString_StringString ( ) { } public void testDefault_String ( ) { } public void testDefault_StringString ( ) { } public void testDefaultIfEmpty_StringString ( ) { } public void testDeprecatedEscapeFunctions_String ( ) { } public void testAbbreviate_StringInt ( ) { } public void testAbbreviate_StringIntInt ( ) { } private void assertAbbreviateWithOffset ( String expected , int offset , int maxWidth ) { } public void testDifference_StringString ( ) { } public void testDifferenceAt_StringString ( ) { } public void testGetLevenshteinDistance_StringString ( ) { } public void testEMPTY ( ) { } public void testRemoveStart ( ) { } public void testRemoveStartIgnoreCase ( ) { } public void testRemoveEnd ( ) { } public void testRemoveEndIgnoreCase ( ) { } public void testRemove_String ( ) { } public void testRemove_char ( ) { }

Fix:
} catch ( IllegalStateException e ) {