METHOD_0 ( ) { when ( user . METHOD_1 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . METHOD_2 ( ) ) ) . thenReturn ( 20 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( user ) . METHOD_3 ( STRING_0 , STRING_1 , "" , STRING_2 , STRING_3 , STRING_4 , STRING_5 ) ; } execute ( IDENT_0 . IDENT_1 . IDENT_1 . api . user . User , java . lang . String , java . util . List ) { java . util . List < IDENT_0 . IDENT_1 . IDENT_1 . database . IDENT_2 . IDENT_3 > IDENT_4 = METHOD_4 ( ) . METHOD_5 ( METHOD_6 ( ) , IDENT_5 ) ; if ( IDENT_4 . isEmpty ( ) ) { user . METHOD_3 ( STRING_6 ) ; return false ; } else { if ( org . apache . commons . lang . math . IDENT_6 . METHOD_7 ( args . get ( 1 ) ) ) { try { java . lang . Integer n = java . lang . Integer . valueOf ( args . get ( 1 ) ) ; if ( ( n < 1 ) || ( n > ( IDENT_4 . size ( ) ) ) ) { user . METHOD_3 ( STRING_7 , IDENT_7 . IDENT_8 , java . lang . String . valueOf ( IDENT_4 . size ( ) ) , IDENT_7 . IDENT_9 , METHOD_8 ( ) ) ; return false ; } this . METHOD_9 ( user , ( ) -> { if ( METHOD_4 ( ) . METHOD_10 ( METHOD_6 ( ) , IDENT_5 , IDENT_4 . get ( ( n - 1 ) ) ) ) { user . METHOD_3 ( STRING_8 ) ; } else { user . METHOD_3 ( STRING_9 ) ; } } ) ; return true ; } catch ( java . lang . Exception e ) { METHOD_11 ( this , user ) ; return false ; } } } return true ; }
org . junit . Assert . assertTrue ( ch . execute ( user , "" , java . util . Collections . emptyList ( ) ) )