METHOD_0 ( ) { when ( IDENT_0 . get ( org . mockito . Mockito . any ( ) ) ) . thenReturn ( java . util . Collections . METHOD_1 ( STRING_0 , mock ( IDENT_1 . IDENT_2 . IDENT_2 . IDENT_3 . IDENT_4 . class ) ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( builder ) . METHOD_2 ( org . mockito . Mockito . eq ( user ) ) ; org . mockito . Mockito . verify ( builder ) . METHOD_3 ( org . mockito . Mockito . any ( ) ) ; org . mockito . Mockito . verify ( builder ) . METHOD_4 ( org . mockito . Mockito . eq ( IDENT_5 . IDENT_6 ) ) ; org . mockito . Mockito . verify ( builder ) . name ( org . mockito . Mockito . eq ( STRING_0 ) ) ; org . mockito . Mockito . verify ( builder ) . build ( ) ; org . mockito . Mockito . verify ( user ) . METHOD_5 ( STRING_1 ) ; } execute ( METHOD_3 . IDENT_2 . IDENT_2 . api . user . User , java . lang . String , java . util . List ) { METHOD_6 ( user , user . METHOD_7 ( STRING_2 ) , ( ) -> { itc . METHOD_8 ( ) . METHOD_9 ( ) . remove ( IDENT_7 ) ; user . METHOD_10 ( IDENT_8 . IDENT_9 ) ; METHOD_3 . IDENT_2 . IDENT_2 . database . IDENT_10 . IDENT_11 IDENT_12 = METHOD_11 ( ) . METHOD_12 ( METHOD_13 ( ) , IDENT_7 ) ; METHOD_3 . IDENT_2 . IDENT_2 . database . IDENT_10 . IDENT_11 IDENT_13 = METHOD_11 ( ) . METHOD_12 ( METHOD_13 ( ) , IDENT_14 ) ; METHOD_3 . IDENT_2 . IDENT_2 . api . user . User IDENT_15 = METHOD_3 . IDENT_2 . IDENT_2 . api . user . User . getInstance ( IDENT_14 ) ; org . IDENT_16 . IDENT_17 IDENT_18 = METHOD_11 ( ) . METHOD_14 ( METHOD_13 ( ) , IDENT_15 , 1 ) ; user . METHOD_15 ( IDENT_18 ) ; METHOD_11 ( ) . METHOD_16 ( METHOD_13 ( ) , IDENT_7 ) ; METHOD_17 ( user ) ; METHOD_11 ( ) . METHOD_18 ( IDENT_13 , IDENT_7 ) ; METHOD_19 ( ) . METHOD_20 ( IDENT_7 , user . METHOD_21 ( ) ) ; if ( IDENT_12 != null ) { METHOD_11 ( ) . METHOD_22 ( IDENT_12 , true ) ; } if ( METHOD_23 ( ) . METHOD_24 ( METHOD_13 ( ) ) ) { METHOD_19 ( ) . METHOD_25 ( METHOD_13 ( ) , IDENT_7 , 0 ) ; } user . METHOD_10 ( METHOD_23 ( ) . METHOD_26 ( METHOD_13 ( ) ) ) ; user . METHOD_5 ( STRING_3 , IDENT_19 . IDENT_20 , METHOD_27 ( ) ) ; METHOD_3 . IDENT_2 . IDENT_2 . api . user . User IDENT_21 = METHOD_3 . IDENT_2 . IDENT_2 . api . user . User . getInstance ( itc . METHOD_8 ( ) . METHOD_9 ( ) . get ( IDENT_7 ) ) ; if ( IDENT_21 != null ) { IDENT_21 . METHOD_5 ( STRING_4 , IDENT_19 . IDENT_22 , user . getName ( ) ) ; } METHOD_11 ( ) . save ( IDENT_13 ) ; METHOD_3 . IDENT_2 . IDENT_2 . api . events . IDENT_23 e = METHOD_3 . IDENT_2 . IDENT_2 . api . events . IDENT_24 . IDENT_25 . builder ( ) . METHOD_28 ( METHOD_11 ( ) . METHOD_12 ( METHOD_13 ( ) , IDENT_14 ) ) . METHOD_4 ( IDENT_25 . IDENT_5 . IDENT_26 ) . METHOD_29 ( IDENT_7 ) . build ( ) ; org . IDENT_16 . IDENT_27 . METHOD_30 ( ) . METHOD_31 ( ) . METHOD_32 ( e ) ; } ) ; return true ; }
org . junit . Assert . assertTrue ( cc . execute ( user , "" , java . util . Collections . singletonList ( STRING_0 ) ) )