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