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