METHOD_0 ( ) { java . lang . String IDENT_0 = org . oscm . test . IDENT_1 . IDENT_2 ; IDENT_3 . METHOD_1 ( IDENT_0 ) ; gen = new org . oscm . ui . generator . METHOD_2 ( org . oscm . ui . generator . IDENT_4 . IDENT_5 , IDENT_3 , org . oscm . ui . generator . IDENT_4 . METHOD_3 ( IDENT_0 , services ) ) ; java . lang . String expected = ( ( org . oscm . ui . generator . IDENT_4 . IDENT_5 ) + IDENT_0 ) . substring ( 0 , IDENT_6 . IDENT_7 ) ; java . lang . String IDENT_8 = gen . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { java . lang . String IDENT_9 = ( ( IDENT_10 ) + ( IDENT_0 ) ) . trim ( ) ; if ( ( IDENT_9 . length ( ) ) > ( org . oscm . validator . IDENT_6 . IDENT_7 ) ) { IDENT_9 = IDENT_9 . substring ( 0 , IDENT_6 . IDENT_7 ) ; } java . lang . String template = IDENT_9 + STRING_0 ; if ( ( IDENT_9 . length ( ) ) > ( ( org . oscm . validator . IDENT_6 . IDENT_7 ) - 7 ) ) { template = ( template . substring ( 0 , ( ( org . oscm . validator . IDENT_6 . IDENT_7 ) - 7 ) ) ) + STRING_0 ; } for ( int index = 2 ; ( index < ( IDENT_11 . MAX_VALUE ) ) && ( IDENT_12 . contains ( IDENT_9 ) ) ; index ++ ) { IDENT_9 = java . lang . String . format ( template , ( ( STRING_1 + index ) + STRING_2 ) ) ; } return IDENT_9 ; }
org . junit . Assert . assertEquals ( expected , IDENT_8 )