METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = java . util . Collections . singletonList ( STRING_0 ) ; java . lang . String result = org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( IDENT_0 ) ; java . lang . String expected = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . List ) { java . lang . StringBuilder IDENT_5 = new java . lang . StringBuilder ( ) ; java . util . Set < java . lang . String > IDENT_6 = new java . util . HashSet ( ) ; for ( java . lang . String line : IDENT_0 ) { if ( ( ! ( line . startsWith ( STRING_2 ) ) ) && ( ! ( line . isEmpty ( ) ) ) ) { java . lang . String [ ] IDENT_7 = line . METHOD_2 ( STRING_3 , "" ) . split ( STRING_4 ) ; java . lang . String key = ( ( IDENT_7 [ 0 ] ) + STRING_5 ) + ( IDENT_7 [ 1 ] ) ; if ( IDENT_6 . contains ( key ) ) { continue ; } IDENT_6 . add ( key ) ; } int IDENT_8 = line . METHOD_3 ( STRING_6 ) ; if ( IDENT_8 <= 0 ) { IDENT_5 . append ( line ) . append ( "\n" ) ; } else { int IDENT_9 = IDENT_8 ; while ( java . lang . IDENT_10 . METHOD_4 ( line . charAt ( ( IDENT_9 - 1 ) ) ) ) { IDENT_9 OP_0 ; } java . lang . String IDENT_11 = org . apache . commons . lang3 . StringUtils . METHOD_5 ( " " , java . lang . Math . max ( 1 , ( INT_0 - IDENT_9 ) ) ) ; IDENT_5 . append ( line , 0 , IDENT_9 ) . append ( IDENT_11 ) . append ( line . substring ( IDENT_8 ) ) . append ( "\n" ) ; } } return IDENT_5 . toString ( ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( expected ) )