METHOD_0 ( ) { java . lang . String [ ] result = com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { java . util . List < java . lang . String > result = new java . util . ArrayList ( 4 ) ; int start = 0 ; for ( int i = 0 ; i < ( key . length ( ) ) ; i ++ ) { if ( ( key . charAt ( i ) ) == STRING_1 ) { if ( ( i > 0 ) && ( ( key . charAt ( ( i - 1 ) ) ) == STRING_2 ) ) { continue ; } java . lang . String entry = key . substring ( start , i ) . replace ( STRING_3 , STRING_4 ) ; result . add ( entry ) ; start = i + 1 ; } } result . add ( key . substring ( start ) . replace ( STRING_3 , STRING_4 ) ) ; return result . toArray ( new java . lang . String [ result . size ( ) ] ) ; }
org . junit . Assert . assertEquals ( 1 , result . length )