METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = java . util . Arrays . asList ( IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_5 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_6 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_7 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_8 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_9 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_10 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_4 ) ; IDENT_1 . tools . util . IDENT_11 [ ] expected = new IDENT_1 . tools . util . IDENT_11 [ ] { new IDENT_1 . tools . util . METHOD_1 ( 1 , 4 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_12 ) , new IDENT_1 . tools . util . METHOD_1 ( 5 , 7 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_13 ) , new IDENT_1 . tools . util . METHOD_1 ( 8 , 9 , IDENT_1 . tools . IDENT_2 . IDENT_3 . IDENT_14 ) } ; IDENT_1 . tools . util . METHOD_1 [ ] actual = IDENT_1 . tools . IDENT_2 . IDENT_3 . codec . decode ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } decode ( java . util . List ) { int start = - 1 ; int end = - 1 ; java . util . List < IDENT_1 . tools . util . METHOD_1 > IDENT_15 = new java . util . ArrayList ( c . size ( ) ) ; for ( int IDENT_16 = 0 ; IDENT_16 < ( c . size ( ) ) ; IDENT_16 ++ ) { java . lang . String IDENT_17 = c . get ( IDENT_16 ) ; if ( IDENT_17 . METHOD_2 ( IDENT_1 . tools . IDENT_2 . IDENT_18 . IDENT_19 ) ) { if ( start != ( - 1 ) ) { IDENT_15 . add ( new IDENT_1 . tools . util . METHOD_1 ( start , end , IDENT_1 . tools . IDENT_2 . IDENT_18 . METHOD_3 ( c . get ( ( IDENT_16 - 1 ) ) ) ) ) ; } start = IDENT_16 ; end = IDENT_16 + 1 ; } else if ( IDENT_17 . METHOD_2 ( IDENT_1 . tools . IDENT_2 . IDENT_18 . IDENT_20 ) ) { end = IDENT_16 + 1 ; } else if ( IDENT_17 . METHOD_2 ( IDENT_1 . tools . IDENT_2 . IDENT_18 . IDENT_4 ) ) { if ( start != ( - 1 ) ) { IDENT_15 . add ( new IDENT_1 . tools . util . METHOD_1 ( start , end , IDENT_1 . tools . IDENT_2 . IDENT_18 . METHOD_3 ( c . get ( ( IDENT_16 - 1 ) ) ) ) ) ; start = - 1 ; end = - 1 ; } } } if ( start != ( - 1 ) ) { IDENT_15 . add ( new IDENT_1 . tools . util . METHOD_1 ( start , end , IDENT_1 . tools . IDENT_2 . IDENT_18 . METHOD_3 ( c . get ( ( ( c . size ( ) ) - 1 ) ) ) ) ) ; } return IDENT_15 . toArray ( new IDENT_1 . tools . util . METHOD_1 [ IDENT_15 . size ( ) ] ) ; }
org . junit . Assert . assertArrayEquals ( expected , actual )