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