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