METHOD_0 ( ) { expected . METHOD_1 ( ) ; expected . add ( STRING_0 ) ; expected . add ( STRING_1 ) ; result = IDENT_0 . METHOD_2 ( STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { if ( ( IDENT_1 == null ) || ( ( IDENT_1 . length ( ) ) == 0 ) ) { return java . util . Collections . emptyList ( ) ; } final int IDENT_2 = 0 ; final int IDENT_3 = 1 ; final int IDENT_4 = 2 ; int state = IDENT_2 ; final java . util . IDENT_5 IDENT_6 = new java . util . METHOD_3 ( IDENT_1 , STRING_3 , true ) ; final java . util . ArrayList < java . lang . String > result = new java . util . ArrayList ( ) ; final java . lang . StringBuilder IDENT_7 = new java . lang . StringBuilder ( ) ; boolean IDENT_8 = false ; while ( IDENT_6 . METHOD_4 ( ) ) { java . lang . String IDENT_9 = IDENT_6 . METHOD_5 ( ) ; switch ( state ) { case IDENT_3 : if ( STRING_4 . equals ( IDENT_9 ) ) { IDENT_8 = true ; state = IDENT_2 ; } else { IDENT_7 . append ( IDENT_9 ) ; } break ; case IDENT_4 : if ( STRING_5 . equals ( IDENT_9 ) ) { IDENT_8 = true ; state = IDENT_2 ; } else { IDENT_7 . append ( IDENT_9 ) ; } break ; default : if ( STRING_4 . equals ( IDENT_9 ) ) { state = IDENT_3 ; } else if ( STRING_5 . equals ( IDENT_9 ) ) { state = IDENT_4 ; } else if ( " " . equals ( IDENT_9 ) ) { if ( IDENT_8 || ( ( IDENT_7 . length ( ) ) != 0 ) ) { result . add ( IDENT_7 . toString ( ) ) ; IDENT_7 . METHOD_6 ( 0 ) ; } } else { IDENT_7 . append ( IDENT_9 ) ; } IDENT_8 = false ; break ; } } if ( IDENT_8 || ( ( IDENT_7 . length ( ) ) != 0 ) ) { result . add ( IDENT_7 . toString ( ) ) ; } if ( ( state == IDENT_3 ) || ( state == IDENT_4 ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_6 + IDENT_1 ) ) ; } return result ; }
org . junit . Assert . assertEquals ( expected , result )