METHOD_0 ( ) { IDENT_0 = com . IDENT_1 . IDENT_2 . type . IDENT_3 . METHOD_1 ( "foo" , IDENT_4 , java . util . Collections . < java . lang . String > emptyList ( ) ) ; when ( IDENT_4 . METHOD_2 ( STRING_0 ) ) . thenReturn ( true ) ; when ( IDENT_4 . METHOD_2 ( STRING_1 ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . lang . String result = IDENT_5 . get ( IDENT_6 ) ; if ( result == null ) { if ( ( IDENT_7 ) != null ) { int IDENT_8 = IDENT_7 . indexOf ( STRING_2 ) ; while ( ( result == null ) && ( IDENT_8 > 0 ) ) { java . lang . String IDENT_9 = ( IDENT_7 . substring ( 0 , ( IDENT_8 + 1 ) ) ) + IDENT_6 ; result = METHOD_4 ( IDENT_9 ) ; IDENT_8 = IDENT_7 . indexOf ( STRING_2 , ( IDENT_8 + 1 ) ) ; } if ( result == null ) { java . lang . String IDENT_10 = ( ( IDENT_7 ) + STRING_2 ) + ( IDENT_6 . replace ( STRING_3 , STRING_2 ) ) ; result = METHOD_4 ( IDENT_10 ) ; } } if ( result == null ) { result = METHOD_5 ( IDENT_6 ) ; } if ( result != null ) { IDENT_5 . put ( IDENT_6 , result ) ; } } return result ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_0 . METHOD_3 ( STRING_1 ) )