METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . lang . String IDENT_2 = STRING_2 ; java . util . ArrayList < java . lang . String > IDENT_3 = new java . util . ArrayList < java . lang . String > ( ) { { add ( STRING_2 ) ; add ( STRING_3 ) ; } } ; org . IDENT_4 . IDENT_5 . core . component . IDENT_6 IDENT_7 = org . IDENT_8 . api . mockito . IDENT_9 . METHOD_1 ( new org . IDENT_4 . IDENT_5 . core . component . METHOD_2 ( ) ) ; org . IDENT_8 . api . mockito . IDENT_9 . doReturn ( IDENT_3 ) . when ( IDENT_7 , STRING_4 , IDENT_0 , IDENT_1 , IDENT_2 ) ; org . IDENT_8 . api . mockito . IDENT_9 . doReturn ( IDENT_7 ) . when ( target , STRING_5 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String , java . lang . String ) { org . IDENT_4 . IDENT_5 . component . IDENT_10 . IDENT_11 . log . debug ( "" ) ; if ( ( ( IDENT_12 == null ) || ( IDENT_1 == null ) ) || ( IDENT_2 == null ) ) { return null ; } java . util . ArrayList < java . lang . String > IDENT_13 = IDENT_7 . METHOD_4 ( IDENT_12 , IDENT_1 , IDENT_2 ) ; if ( ( IDENT_13 . size ( ) ) == 0 ) { return null ; } return IDENT_13 . get ( 0 ) ; }
org . junit . Assert . assertThat ( target . METHOD_3 ( IDENT_0 , IDENT_1 , IDENT_2 ) , org . hamcrest . CoreMatchers . is ( STRING_2 ) )