METHOD_0 ( ) { doReturn ( com . google . common . collect . IDENT_0 . METHOD_1 ( STRING_0 , STRING_1 ) ) . when ( IDENT_1 ) . METHOD_2 ( ) ; java . util . List < java . lang . String > result = ( ( java . util . List < java . lang . String > ) ( IDENT_2 . METHOD_3 ( "" ) ) ) ; log . info ( STRING_2 , result ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { java . util . Set < java . lang . String > IDENT_3 = IDENT_1 . METHOD_2 ( ) ; java . util . List < java . lang . String > IDENT_4 = com . google . common . collect . Lists . newArrayList ( IDENT_3 ) ; java . util . Collections . METHOD_4 ( IDENT_4 ) ; if ( org . apache . commons . lang3 . StringUtils . equalsIgnoreCase ( IDENT_5 , STRING_3 ) ) { java . util . List < com . IDENT_6 . IDENT_7 . model . IDENT_8 > IDENT_9 = com . google . common . collect . Lists . newArrayList ( ) ; java . util . Map < java . lang . String , com . IDENT_6 . IDENT_7 . model . IDENT_8 > IDENT_10 = com . google . common . collect . IDENT_11 . METHOD_5 ( ) ; IDENT_4 . METHOD_6 ( ) . METHOD_7 ( ( IDENT_12 ) -> { try { IDENT_10 . put ( IDENT_12 , IDENT_1 . METHOD_8 ( IDENT_12 ) ) ; } catch ( e ) { com . IDENT_6 . IDENT_7 . controller . log . error ( STRING_4 , IDENT_12 , com . IDENT_6 . IDENT_7 . controller . e ) ; } } ) ; IDENT_4 . METHOD_7 ( ( IDENT_12 ) -> { com . IDENT_6 . IDENT_7 . model . IDENT_8 cluster = IDENT_10 . get ( IDENT_12 ) ; if ( cluster != null ) { IDENT_9 . add ( cluster ) ; } } ) ; return IDENT_9 ; } else { return IDENT_4 ; } }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . contains ( STRING_1 , STRING_0 ) )