METHOD_0 ( ) { javax . transaction . IDENT_0 . IDENT_1 IDENT_2 = new javax . transaction . IDENT_0 . METHOD_1 ( ) { @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public void start ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 , int IDENT_9 ) throws javax . transaction . IDENT_0 . IDENT_10 { } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public void end ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 , int IDENT_9 ) throws javax . transaction . IDENT_0 . IDENT_10 { } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public int METHOD_2 ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 ) throws javax . transaction . IDENT_0 . IDENT_10 { return 0 ; } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public void commit ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 , boolean IDENT_11 ) throws javax . transaction . IDENT_0 . IDENT_10 { throw new javax . transaction . IDENT_0 . METHOD_3 ( javax . transaction . IDENT_0 . METHOD_3 . IDENT_12 ) ; } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public void METHOD_4 ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 ) throws javax . transaction . IDENT_0 . METHOD_3 { } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public void METHOD_5 ( javax . transaction . IDENT_0 . IDENT_7 IDENT_8 ) throws javax . transaction . IDENT_0 . METHOD_3 { } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public javax . transaction . IDENT_0 . IDENT_7 [ ] METHOD_6 ( int IDENT_13 ) throws javax . transaction . IDENT_0 . METHOD_3 { return null ; } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public boolean METHOD_7 ( javax . transaction . IDENT_0 . METHOD_1 IDENT_14 ) throws javax . transaction . IDENT_0 . METHOD_3 { return false ; } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public int METHOD_8 ( ) throws javax . transaction . IDENT_0 . METHOD_3 { return 0 ; } @ com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . Override public boolean METHOD_9 ( int IDENT_15 ) throws javax . transaction . IDENT_0 . METHOD_3 { return false ; } } ; javax . transaction . IDENT_16 IDENT_17 = com . IDENT_18 . IDENT_19 . IDENT_6 . IDENT_16 . METHOD_10 ( ) ; IDENT_17 . METHOD_11 ( ) ; javax . transaction . IDENT_20 IDENT_21 = IDENT_17 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; try { IDENT_17 . commit ( ) ; org . junit . Assert . fail ( ) ; } catch ( com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_0 . javax e ) { } } METHOD_13 ( javax . transaction . IDENT_20 ) { if ( ( IDENT_22 ) != null ) { if ( ( this . IDENT_23 . get ( ) ) == null ) { this . IDENT_23 . set ( IDENT_22 . METHOD_14 ( ) ) ; this . connection . set ( IDENT_23 . get ( ) . METHOD_15 ( ) ) ; } javax . transaction . IDENT_0 . METHOD_1 IDENT_24 = IDENT_23 . get ( ) . METHOD_16 ( ) ; transaction . METHOD_13 ( IDENT_24 ) ; java . sql . IDENT_25 IDENT_26 = connection . get ( ) . METHOD_17 ( ) ; METHOD_17 . execute ( ( ( STRING_0 + ( com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_27 . Utils . METHOD_18 ( ) ) ) + STRING_1 ) ) ; METHOD_17 . close ( ) ; } else { if ( ( this . IDENT_28 . get ( ) ) == null ) { this . IDENT_28 . set ( IDENT_29 . METHOD_19 ( ) ) ; } java . sql . IDENT_30 connection = this . IDENT_28 . get ( ) . METHOD_15 ( ) ; connection . METHOD_20 ( false ) ; javax . transaction . IDENT_0 . METHOD_1 IDENT_31 = new com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_27 . METHOD_21 ( connection ) ; transaction . METHOD_13 ( IDENT_31 ) ; java . sql . IDENT_25 METHOD_17 = connection . METHOD_17 ( ) ; METHOD_17 . execute ( STRING_2 ) ; METHOD_17 . close ( ) ; } }
org . junit . Assert . assertTrue ( IDENT_21 . METHOD_13 ( IDENT_2 ) )