METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 spec = METHOD_1 ( ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 substring = spec . substring ( 0 , 15 ) ; "<AssertPlaceHolder>" ; } substring ( int , int ) { java . util . List < org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 . IDENT_3 > IDENT_4 = new java . util . ArrayList < org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 . IDENT_3 > ( ) ; for ( final org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 . IDENT_3 IDENT_5 : IDENT_6 ) { if ( ( IDENT_5 . end ) <= start ) { continue ; } if ( ( IDENT_5 . start ) >= end ) { continue ; } int IDENT_7 ; int IDENT_8 ; if ( ( IDENT_5 . start ) < start ) { IDENT_7 = 0 ; IDENT_8 = start ; } else { IDENT_7 = ( IDENT_5 . start ) - start ; IDENT_8 = IDENT_5 . start ; } int IDENT_9 ; int IDENT_10 ; if ( ( IDENT_5 . end ) < end ) { IDENT_9 = ( IDENT_5 . end ) - start ; IDENT_10 = IDENT_5 . end ; } else { IDENT_9 = end - start ; IDENT_10 = end ; } java . lang . String IDENT_11 = text . substring ( IDENT_8 , IDENT_10 ) ; IDENT_4 . add ( new org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . IDENT_2 . METHOD_2 ( IDENT_7 , IDENT_9 , IDENT_5 . IDENT_12 , IDENT_5 . attributes , IDENT_5 . IDENT_13 , IDENT_5 . IDENT_14 , IDENT_5 . IDENT_15 , IDENT_11 ) ) ; } return new org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . process . text . METHOD_3 ( text . substring ( start , end ) , IDENT_16 , IDENT_4 ) ; }
org . junit . Assert . assertEquals ( spec , substring )