METHOD_0 ( ) { javax . persistence . IDENT_0 em = IDENT_1 . METHOD_1 ( ) ; em . METHOD_2 ( ) . METHOD_3 ( ) ; com . IDENT_2 . IDENT_3 . bean . IDENT_4 IDENT_5 = new com . IDENT_2 . IDENT_3 . bean . METHOD_4 ( ) ; IDENT_5 . setName ( STRING_0 ) ; em . METHOD_5 ( IDENT_5 ) ; com . IDENT_2 . IDENT_3 . bean . METHOD_4 IDENT_6 = new com . IDENT_2 . IDENT_3 . bean . METHOD_4 ( ) ; IDENT_6 . setName ( STRING_1 ) ; em . METHOD_5 ( IDENT_6 ) ; com . IDENT_2 . IDENT_3 . bean . METHOD_4 IDENT_7 = new com . IDENT_2 . IDENT_3 . bean . METHOD_4 ( ) ; IDENT_7 . setName ( STRING_2 ) ; em . METHOD_5 ( IDENT_7 ) ; System . out . println ( IDENT_7 . getName ( ) ) ; com . IDENT_2 . IDENT_3 . bean . METHOD_4 IDENT_8 = new com . IDENT_2 . IDENT_3 . bean . METHOD_4 ( ) ; IDENT_8 . setName ( STRING_3 ) ; em . METHOD_5 ( IDENT_8 ) ; com . IDENT_2 . IDENT_3 . bean . METHOD_4 first = new com . IDENT_2 . IDENT_3 . bean . METHOD_4 ( ) ; first . setName ( STRING_4 ) ; em . METHOD_5 ( first ) ; em . METHOD_2 ( ) . commit ( ) ; em . close ( ) ; javax . persistence . IDENT_0 IDENT_9 = IDENT_1 . METHOD_1 ( ) ; IDENT_9 . METHOD_2 ( ) . METHOD_3 ( ) ; javax . persistence . Query query = IDENT_9 . METHOD_6 ( STRING_5 ) ; query . METHOD_7 ( STRING_6 , STRING_2 ) ; com . IDENT_2 . IDENT_3 . bean . METHOD_4 found = ( ( com . IDENT_2 . IDENT_3 . bean . METHOD_4 ) ( query . METHOD_8 ( ) . get ( 0 ) ) ) ; "<AssertPlaceHolder>" ; IDENT_9 . METHOD_2 ( ) . commit ( ) ; IDENT_9 . close ( ) ; } get ( me . IDENT_10 . cassandra . service . IDENT_11 ) { return com . IDENT_2 . IDENT_3 . IDENT_12 . IDENT_13 . get ( ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , found )