METHOD_0 ( ) { org . IDENT_0 . metadata . IDENT_1 IDENT_2 = new org . IDENT_0 . metadata . METHOD_1 ( STRING_0 , STRING_1 , null ) ; IDENT_2 . METHOD_2 ( STRING_2 5 ) ; IDENT_2 . METHOD_3 ( ) ; IDENT_2 . METHOD_4 ( STRING_3 , STRING_4 ) ; IDENT_2 . METHOD_4 ( STRING_2 9 , STRING_5 1 ) ; IDENT_2 . METHOD_4 ( STRING_2 8 , STRING_2 1 ) ; IDENT_2 . METHOD_4 ( STRING_5 , "" ) ; IDENT_2 . METHOD_4 ( STRING_6 , STRING_2 2 ) ; IDENT_2 . METHOD_4 ( STRING_7 , STRING_2 2 ) ; javax . IDENT_3 . IDENT_4 IDENT_5 = new org . IDENT_0 . api . IDENT_3 . METHOD_5 ( IDENT_2 , null ) ; javax . IDENT_3 . IDENT_6 IDENT_7 = IDENT_5 . METHOD_6 ( ) ; javax . IDENT_3 . IDENT_8 tx = IDENT_7 . METHOD_7 ( ) ; try { tx . METHOD_8 ( ) ; com . baeldung . IDENT_3 . IDENT_9 IDENT_10 = new com . baeldung . IDENT_3 . METHOD_9 ( STRING_2 , FLOAT_0 ) ; IDENT_7 . METHOD_10 ( IDENT_10 ) ; com . baeldung . IDENT_3 . METHOD_9 IDENT_11 = new com . baeldung . IDENT_3 . METHOD_9 ( STRING_2 6 , FLOAT_1 ) ; IDENT_7 . METHOD_10 ( IDENT_11 ) ; com . baeldung . IDENT_3 . METHOD_9 IDENT_12 = new com . baeldung . IDENT_3 . METHOD_9 ( STRING_2 7 , FLOAT_2 ) ; IDENT_7 . METHOD_10 ( IDENT_12 ) ; tx . commit ( ) ; } catch ( java . lang . Throwable IDENT_13 ) { org . junit . Assert . fail ( ( STRING_5 0 + ( IDENT_13 . getMessage ( ) ) ) ) ; } finally { if ( tx . METHOD_11 ( ) ) { tx . METHOD_12 ( ) ; } IDENT_7 . close ( ) ; } IDENT_5 . close ( ) ; javax . IDENT_3 . IDENT_4 IDENT_14 = new org . IDENT_0 . api . IDENT_3 . METHOD_5 ( IDENT_2 , null ) ; javax . IDENT_3 . IDENT_6 IDENT_15 = IDENT_14 . METHOD_6 ( ) ; javax . IDENT_3 . IDENT_8 IDENT_16 = IDENT_15 . METHOD_7 ( ) ; try { IDENT_16 . METHOD_8 ( ) ; @ com . baeldung . IDENT_3 . METHOD_13 ( STRING_2 4 ) javax . IDENT_3 . Query q = IDENT_15 . METHOD_14 ( ( ( STRING_8 + ( com . baeldung . IDENT_3 . METHOD_9 . class . getName ( ) ) ) + STRING_2 3 ) ) ; @ com . baeldung . IDENT_3 . METHOD_13 ( STRING_2 0 ) java . util . List < com . baeldung . IDENT_3 . METHOD_9 > IDENT_17 = ( ( java . util . List < com . baeldung . IDENT_3 . METHOD_9 > ) ( q . execute ( ) ) ) ; for ( com . baeldung . IDENT_3 . METHOD_9 p : IDENT_17 ) { "<AssertPlaceHolder>" ; } IDENT_16 . commit ( ) ; } finally { if ( IDENT_16 . METHOD_11 ( ) ) { IDENT_16 . METHOD_12 ( ) ; } IDENT_15 . close ( ) ; } } execute ( ) { return ( a ) + ( b ) ; }
org . junit . Assert . assertEquals ( STRING_2 7 , p . name )