METHOD_0 ( ) { IDENT_0 . METHOD_1 ( IDENT_1 , IDENT_2 , new java . util . Date ( ) ) ; java . util . Date IDENT_3 = new java . util . Date ( ) ; IDENT_0 . METHOD_2 ( IDENT_1 . METHOD_3 ( ) . toString ( ) , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String ) { javax . persistence . IDENT_4 em = null ; javax . persistence . IDENT_5 tx = null ; try { em = IDENT_6 . METHOD_5 ( ) ; tx = em . METHOD_6 ( ) ; tx . METHOD_7 ( ) ; org . IDENT_7 . search . impl . persistence . IDENT_8 IDENT_9 = METHOD_8 ( IDENT_10 , em ) ; if ( IDENT_9 == null ) { throw new org . IDENT_7 . util . METHOD_9 ( ( ( STRING_0 + IDENT_10 ) + STRING_1 ) ) ; } java . lang . String IDENT_11 = IDENT_9 . METHOD_10 ( ) ; if ( IDENT_11 != null ) { org . IDENT_7 . security . api . IDENT_12 IDENT_13 = org . IDENT_7 . security . api . IDENT_14 . METHOD_11 ( IDENT_11 ) ; org . IDENT_7 . security . api . User IDENT_15 = IDENT_16 . METHOD_12 ( ) ; org . IDENT_7 . security . api . IDENT_17 IDENT_18 = IDENT_16 . METHOD_13 ( ) ; if ( ! ( org . IDENT_7 . security . api . IDENT_19 . METHOD_14 ( IDENT_13 , IDENT_15 , IDENT_18 , org . IDENT_7 . search . impl . persistence . IDENT_20 . toString ( ) ) ) ) throw new org . IDENT_7 . security . api . METHOD_15 ( ( ( IDENT_15 + STRING_2 ) + IDENT_10 ) ) ; } return IDENT_9 . METHOD_4 ( ) ; } catch ( org . IDENT_7 . util . METHOD_9 e ) { throw e ; } catch ( java . lang . Exception e ) { org . IDENT_7 . search . impl . persistence . IDENT_21 . logger . error ( STRING_3 , IDENT_10 , e . getMessage ( ) ) ; if ( tx . METHOD_16 ( ) ) { tx . METHOD_17 ( ) ; } throw new org . IDENT_7 . search . impl . persistence . METHOD_18 ( e ) ; } finally { if ( em != null ) em . close ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_0 . METHOD_4 ( IDENT_1 . METHOD_3 ( ) . toString ( ) ) )