METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( any ( ) , eq ( STRING_0 ) ) ) . thenReturn ( repository ) ; doReturn ( java . util . Optional . of ( mock ( org . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . class ) ) ) . when ( repository ) . METHOD_2 ( ) ; doReturn ( STRING_1 ) . when ( repository ) . METHOD_3 ( ) ; java . lang . String IDENT_5 = IDENT_6 . METHOD_4 ( STRING_1 , new org . IDENT_7 . IDENT_8 . METHOD_5 ( STRING_1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , org . IDENT_7 . IDENT_8 . METHOD_5 ) { int index = 0 ; java . lang . String IDENT_9 = "" ; while ( ( this . METHOD_6 ( IDENT_10 , ( IDENT_11 + IDENT_9 ) ) ) != null ) { IDENT_9 = STRING_2 + ( ++ index ) ; } return IDENT_11 + IDENT_9 ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_5 )