METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; com . IDENT_0 . IDENT_1 . user . IDENT_5 IDENT_6 = mock ( com . IDENT_0 . IDENT_1 . user . IDENT_5 . class ) ; org . mockito . IDENT_7 < com . IDENT_0 . IDENT_1 . util . Operation > IDENT_8 = org . mockito . IDENT_7 . METHOD_1 ( com . IDENT_0 . IDENT_1 . util . Operation . class ) ; when ( IDENT_9 . METHOD_2 ( eq ( IDENT_10 . IDENT_11 ) , eq ( STRING_0 ) ) ) . thenReturn ( IDENT_6 ) ; IDENT_12 . METHOD_3 ( repository ) ; verify ( IDENT_6 , times ( 1 ) ) . call ( IDENT_8 . METHOD_4 ( ) ) ; when ( IDENT_13 . METHOD_3 ( repository , IDENT_14 . IDENT_15 ) ) . thenReturn ( IDENT_4 ) ; java . lang . Object IDENT_16 = IDENT_8 . getValue ( ) . METHOD_5 ( ) ; verify ( IDENT_13 , times ( 1 ) ) . METHOD_3 ( repository , IDENT_14 . IDENT_15 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . IDENT_0 . IDENT_1 . repository . IDENT_17 ) { try { return IDENT_9 . METHOD_2 ( IDENT_10 . IDENT_11 , STRING_0 ) . call ( ( ) -> IDENT_13 . METHOD_3 ( repository , IDENT_14 . IDENT_15 ) ) ; } catch ( java . lang . Exception e ) { com . IDENT_18 . IDENT_19 . IDENT_20 . service . IDENT_21 . LOGGER . error ( STRING_1 , e ) ; return null ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_16 )