METHOD_0 ( ) { final IDENT_0 . IDENT_1 . cs . IDENT_2 . core . commands . IDENT_3 . IDENT_4 IDENT_5 = mock ( IDENT_0 . IDENT_1 . cs . IDENT_2 . core . commands . IDENT_3 . IDENT_4 . class ) ; IDENT_0 . IDENT_1 . cs . IDENT_2 . core . domain . IDENT_6 IDENT_7 = new IDENT_0 . IDENT_1 . cs . IDENT_2 . core . domain . METHOD_1 ( STRING_0 ) ; when ( IDENT_8 . METHOD_2 ( any ( IDENT_0 . IDENT_1 . cs . IDENT_2 . core . domain . IDENT_9 . class ) , eq ( IDENT_7 ) ) ) . thenReturn ( METHOD_3 ( IDENT_5 ) ) ; IDENT_0 . IDENT_1 . cs . IDENT_2 . core . commands . IDENT_3 . IDENT_4 result = IDENT_0 . IDENT_1 . cs . IDENT_2 . cli . backend . IDENT_10 . METHOD_0 ( ctx , IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( IDENT_0 . IDENT_1 . cs . IDENT_2 . cli . core . IDENT_11 , IDENT_0 . IDENT_1 . cs . IDENT_2 . core . domain . METHOD_1 ) { try { IDENT_0 . IDENT_1 . cs . IDENT_2 . core . IDENT_12 core = ctx . METHOD_4 ( ) ; return core . METHOD_2 ( IDENT_9 . IDENT_13 , IDENT_7 ) . call ( ) ; } catch ( java . lang . Exception e ) { IDENT_0 . IDENT_1 . cs . IDENT_2 . cli . backend . IDENT_10 . METHOD_5 ( ctx , e ) ; IDENT_0 . IDENT_1 . cs . IDENT_2 . cli . backend . IDENT_10 . logger . warn ( STRING_1 , e ) ; return null ; } }
org . junit . Assert . assertEquals ( IDENT_5 , result )