METHOD_0 ( ) { org . IDENT_0 . security . IDENT_1 . IDENT_2 template = new org . IDENT_0 . security . IDENT_1 . METHOD_1 ( null , null , null , null , null , null ) ; when ( this . store . METHOD_2 ( template , null , null , 0 , 0 ) ) . thenReturn ( this . events ) ; when ( this . auth . METHOD_3 ( this . user , IDENT_3 . IDENT_4 , this . IDENT_5 ) ) . thenReturn ( true ) ; java . util . List < org . IDENT_0 . security . IDENT_1 . METHOD_1 > result = this . IDENT_6 . METHOD_2 ( 0 , 0 , null , null , null , null , null , null ) ; org . mockito . Mockito . verify ( this . store ) . METHOD_2 ( template , null , null , 0 , 0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . IDENT_0 . security . IDENT_1 . METHOD_1 , java . util . Calendar , java . util . Calendar , int , int ) { try { org . hibernate . IDENT_7 session = this . IDENT_8 . METHOD_4 ( ) . METHOD_5 ( ) ; org . hibernate . IDENT_9 c = session . METHOD_6 ( org . IDENT_0 . security . IDENT_1 . METHOD_1 . class ) ; if ( IDENT_10 != null ) { c . add ( org . hibernate . IDENT_11 . IDENT_12 . create ( IDENT_10 ) ) ; } METHOD_7 ( c , IDENT_13 , IDENT_14 ) ; c . METHOD_8 ( org . hibernate . IDENT_11 . IDENT_15 . METHOD_9 ( org . IDENT_0 . security . IDENT_1 . internal . IDENT_16 . IDENT_17 ) ) ; if ( start > 0 ) { c . METHOD_10 ( start ) ; } if ( IDENT_18 > 0 ) { c . METHOD_11 ( IDENT_18 ) ; } c . METHOD_12 ( true ) ; @ org . IDENT_0 . security . IDENT_1 . internal . METHOD_13 ( STRING_0 ) java . util . List < org . IDENT_0 . security . IDENT_1 . METHOD_1 > IDENT_19 = c . list ( ) ; return IDENT_19 ; } catch ( org . hibernate . IDENT_20 ex ) { this . logger . error ( STRING_1 , ex . getMessage ( ) , ex ) ; } return java . util . Collections . emptyList ( ) ; }
org . junit . Assert . assertSame ( this . events , result )