Buggy code:
public class FastDateParserTest { private static final String yMdHmsSZ = "yyyy-MM-dd'T'HH:mm:ss.SSS<seq2seq4repair_space>Z" ; private static final String DMY_DOT = "dd.MM.yyyy" ; private static final String YMD_SLASH = "yyyy//MM//dd" ; private static final String MDY_DASH = "MM-DD-yyyy" ; private static final String MDY_SLASH = "MM//DD//yyyy" ; private static final TimeZone REYKJAVIK = TimeZone . getTimeZone ( "Atlantic//Reykjavik" ) ; private static final TimeZone NEW_YORK = TimeZone . getTimeZone ( "America//New_York" ) ; private static final Locale SWEDEN = new Locale ( "sv" , "SE" ) ; DateParser getInstance ( String format ) { } private DateParser getDateInstance ( int dateStyle , Locale locale ) { } private DateParser getInstance ( String format , Locale locale ) { } private DateParser getInstance ( String format , TimeZone timeZone ) { } protected DateParser getInstance ( String format , TimeZone timeZone , Locale locale ) { } @ Test public void test_Equality_Hash ( ) { } @ Test public void testParseZone ( ) throws ParseException { } @ Test public void testParseLongShort ( ) throws ParseException { Calendar cal = Calendar . getInstance ( FastDateParserTest . NEW_YORK , Locale . US ) ; cal . clear ( ) ; cal . set ( 2003 , 1 , 10 , 15 , 33 , 20 ) ; cal . set ( Calendar . MILLISECOND , 989 ) ; cal . setTimeZone ( FastDateParserTest . NEW_YORK ) ; DateParser fdf = getInstance ( "yyyy<seq2seq4repair_space>GGGG<seq2seq4repair_space>MMMM<seq2seq4repair_space>dddd<seq2seq4repair_space>aaaa<seq2seq4repair_space>EEEE<seq2seq4repair_space>HHHH<seq2seq4repair_space>mmmm<seq2seq4repair_space>ssss<seq2seq4repair_space>SSSS<seq2seq4repair_space>ZZZZ" , FastDateParserTest . NEW_YORK , Locale . US ) ; assertEquals ( cal . getTime ( ) , fdf . parse ( "2003<seq2seq4repair_space>AD<seq2seq4repair_space>February<seq2seq4repair_space>0010<seq2seq4repair_space>PM<seq2seq4repair_space>Monday<seq2seq4repair_space>0015<seq2seq4repair_space>0033<seq2seq4repair_space>0020<seq2seq4repair_space>0989<seq2seq4repair_space>GMT-05:00" ) ) ; cal . set ( Calendar . ERA , GregorianCalendar . BC ) ; Date parse = fdf . parse ( "2003<seq2seq4repair_space>BC<seq2seq4repair_space>February<seq2seq4repair_space>0010<seq2seq4repair_space>PM<seq2seq4repair_space>Saturday<seq2seq4repair_space>0015<seq2seq4repair_space>0033<seq2seq4repair_space>0020<seq2seq4repair_space>0989<seq2seq4repair_space>GMT-05:00" ) ; assertEquals ( cal . getTime ( ) , parse ) ; <START_BUG> fdf = getInstance ( "y<seq2seq4repair_space>G<seq2seq4repair_space>M<seq2seq4repair_space>d<seq2seq4repair_space>a<seq2seq4repair_space>E<seq2seq4repair_space>H<seq2seq4repair_space>m<seq2seq4repair_space>s<seq2seq4repair_space>S<seq2seq4repair_space>Z" ) ; <END_BUG> assertEquals ( cal . getTime ( ) , fdf . parse ( "03<seq2seq4repair_space>BC<seq2seq4repair_space>2<seq2seq4repair_space>10<seq2seq4repair_space>PM<seq2seq4repair_space>Sat<seq2seq4repair_space>15<seq2seq4repair_space>33<seq2seq4repair_space>20<seq2seq4repair_space>989<seq2seq4repair_space>-0500" ) ) ; cal . set ( Calendar . ERA , GregorianCalendar . AD ) ; assertEquals ( cal . getTime ( ) , fdf . parse ( "03<seq2seq4repair_space>AD<seq2seq4repair_space>2<seq2seq4repair_space>10<seq2seq4repair_space>PM<seq2seq4repair_space>Saturday<seq2seq4repair_space>15<seq2seq4repair_space>33<seq2seq4repair_space>20<seq2seq4repair_space>989<seq2seq4repair_space>-0500" ) ) ; } @ Test public void testAmPm ( ) throws ParseException { } @ Test public void testLocales ( ) throws ParseException { } private void checkParse ( Calendar cal , SimpleDateFormat sdf , DateParser fdf ) throws ParseException { } @ Test public void testParseNumerics ( ) throws ParseException { } @ Test public void testQuotes ( ) throws ParseException { } @ Test public void testDayOf ( ) throws ParseException { } @ Test public void testShortDateStyleWithLocales ( ) throws ParseException { } @ Test public void testLowYearPadding ( ) throws ParseException { } @ Test public void testMilleniumBug ( ) throws ParseException { } @ Test public void testLang303 ( ) throws ParseException { } @ Test public void testLang538 ( ) throws ParseException { } @ Test public void testEquals ( ) { } @ Test public void testToStringContainsName ( ) { } @ Test public void testPatternMatches ( ) { } @ Test public void testLocaleMatches ( ) { } @ Test public void testTimeZoneMatches ( ) { } }

Fix:
fdf = getInstance ( "y<seq2seq4repair_space>G<seq2seq4repair_space>M<seq2seq4repair_space>d<seq2seq4repair_space>a<seq2seq4repair_space>E<seq2seq4repair_space>H<seq2seq4repair_space>m<seq2seq4repair_space>s<seq2seq4repair_space>S<seq2seq4repair_space>Z" , FastDateParserTest . NEW_YORK , Locale . US ) ;