METHOD_0 ( ) { org . apache . IDENT_0 . entity . IDENT_1 IDENT_2 = new org . apache . IDENT_0 . entity . METHOD_1 ( ) ; IDENT_2 . setId ( id ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; org . apache . IDENT_0 . entity . IDENT_3 IDENT_4 = new org . apache . IDENT_0 . entity . METHOD_3 ( ) ; IDENT_4 . setId ( id ) ; org . apache . IDENT_0 . db . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_5 . class ) ; org . apache . IDENT_0 . db . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_7 . class ) ; org . apache . IDENT_0 . security . context . IDENT_9 context = new org . apache . IDENT_0 . security . context . METHOD_4 ( ) ; org . apache . IDENT_0 . common . IDENT_10 IDENT_11 = new org . apache . IDENT_0 . common . METHOD_5 ( ) ; IDENT_11 . METHOD_6 ( true ) ; context . METHOD_7 ( IDENT_11 ) ; IDENT_11 . METHOD_8 ( IDENT_2 ) ; org . apache . IDENT_0 . security . context . IDENT_12 . METHOD_9 ( context ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_10 ( ) ) . thenReturn ( IDENT_6 ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_11 ( org . mockito . Mockito . METHOD_12 ( ) ) ) . thenReturn ( IDENT_2 ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_13 ( ) ) . thenReturn ( IDENT_8 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_14 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( IDENT_4 ) ; java . lang . Long IDENT_14 = IDENT_15 . METHOD_15 ( ) ; org . mockito . Mockito . verify ( IDENT_13 ) . METHOD_10 ( ) ; org . mockito . Mockito . verify ( IDENT_6 ) . METHOD_11 ( org . mockito . Mockito . METHOD_12 ( ) ) ; org . mockito . Mockito . verify ( IDENT_13 ) . METHOD_13 ( ) ; org . mockito . Mockito . verify ( IDENT_8 ) . METHOD_14 ( org . mockito . Mockito . anyString ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( java . lang . String ) { if ( IDENT_16 == null ) { return java . util . Collections . IDENT_17 ; } try { return METHOD_16 ( ) . METHOD_17 ( STRING_1 , IDENT_18 ) . METHOD_18 ( STRING_2 , IDENT_16 ) . METHOD_19 ( ) ; } catch ( javax . persistence . IDENT_19 e ) { return java . util . Collections . IDENT_17 ; } }
org . junit . Assert . assertEquals ( IDENT_14 , id )