METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . cache . IDENT_2 IDENT_3 = IDENT_4 . mock ( com . IDENT_0 . IDENT_1 . cache . IDENT_2 . class , STRING_0 ) ; final com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_6 IDENT_7 = IDENT_4 . mock ( com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_6 . class , STRING_1 ) ; final com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 IDENT_9 = METHOD_1 ( STRING_2 , STRING_3 ) ; final com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 IDENT_10 = METHOD_1 ( "1" , STRING_4 ) ; final com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 IDENT_11 = METHOD_1 ( "2" , STRING_5 ) ; IDENT_4 . METHOD_2 ( new org . IDENT_12 . METHOD_3 ( ) { { METHOD_4 ( IDENT_3 ) . METHOD_5 ( ) ; METHOD_6 ( METHOD_7 ( com . IDENT_0 . IDENT_1 . internal . util . IDENT_13 . METHOD_8 ( IDENT_10 , IDENT_11 ) ) ) ; METHOD_4 ( IDENT_3 ) . METHOD_9 ( ) ; METHOD_6 ( METHOD_7 ( IDENT_7 ) ) ; METHOD_4 ( IDENT_7 ) . METHOD_10 ( ) ; METHOD_6 ( METHOD_7 ( IDENT_9 ) ) ; } } ) ; final com . IDENT_0 . IDENT_1 . management . internal . cli . commands . IDENT_14 commands = METHOD_11 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( com . IDENT_0 . IDENT_1 . cache . IDENT_2 , java . lang . String ) { com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 IDENT_15 = null ; java . util . Set < com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 > IDENT_16 = com . IDENT_0 . IDENT_1 . management . internal . cli . IDENT_17 . METHOD_13 ( cache ) ; java . util . Iterator < com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 > it = IDENT_16 . iterator ( ) ; while ( it . hasNext ( ) ) { com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 IDENT_18 = ( ( com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_8 ) ( it . next ( ) ) ) ; if ( ( IDENT_19 . equals ( IDENT_18 . getId ( ) ) ) || ( IDENT_19 . equals ( IDENT_18 . getName ( ) ) ) ) { return IDENT_18 ; } } return IDENT_15 ; }
org . junit . Assert . assertSame ( IDENT_11 , commands . METHOD_12 ( IDENT_3 , "2" ) )