METHOD_0 ( ) { fr . IDENT_0 . domain . IDENT_1 . IDENT_2 IDENT_1 = new fr . IDENT_0 . domain . IDENT_1 . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( new org . joda . time . METHOD_3 ( ) . METHOD_4 ( 3 ) ) ; IDENT_1 . METHOD_5 ( new org . joda . time . METHOD_3 ( ) . METHOD_6 ( 3 ) ) ; IDENT_1 . METHOD_7 ( IDENT_3 . find ( fr . IDENT_0 . domain . IDENT_4 . IDENT_5 . class , 1 ) ) ; IDENT_1 . METHOD_8 ( STRING_0 ) ; IDENT_6 . save ( IDENT_1 ) ; IDENT_1 = new fr . IDENT_0 . domain . IDENT_1 . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( new org . joda . time . METHOD_3 ( ) . METHOD_4 ( 3 ) ) ; IDENT_1 . METHOD_5 ( new org . joda . time . METHOD_3 ( ) . METHOD_4 ( 1 ) ) ; IDENT_1 . METHOD_7 ( IDENT_3 . find ( fr . IDENT_0 . domain . IDENT_4 . IDENT_5 . class , 2 ) ) ; IDENT_1 . METHOD_8 ( STRING_0 ) ; IDENT_1 = IDENT_6 . save ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { javax . persistence . criteria . IDENT_7 IDENT_8 = METHOD_10 ( ) . METHOD_11 ( ) ; javax . persistence . criteria . IDENT_9 < fr . IDENT_0 . domain . IDENT_1 . METHOD_1 > query = IDENT_8 . METHOD_12 ( fr . IDENT_0 . domain . IDENT_1 . METHOD_1 . class ) ; javax . persistence . criteria . IDENT_10 < fr . IDENT_0 . domain . IDENT_1 . METHOD_1 > root = query . from ( fr . IDENT_0 . domain . IDENT_1 . METHOD_1 . class ) ; javax . persistence . criteria . IDENT_11 < fr . IDENT_0 . domain . IDENT_1 . METHOD_1 > IDENT_12 = query . METHOD_13 ( fr . IDENT_0 . domain . IDENT_1 . METHOD_1 . class ) ; javax . persistence . criteria . IDENT_10 < fr . IDENT_0 . domain . IDENT_1 . METHOD_1 > IDENT_13 = METHOD_13 . from ( fr . IDENT_0 . domain . IDENT_1 . METHOD_1 . class ) ; METHOD_13 . select ( IDENT_13 ) . METHOD_14 ( IDENT_8 . equal ( root . get ( STRING_1 ) , IDENT_13 . get ( STRING_1 ) ) , IDENT_8 . METHOD_15 ( IDENT_13 . < org . joda . time . METHOD_3 > get ( STRING_2 ) , root . < org . joda . time . METHOD_3 > get ( STRING_2 ) ) ) ; return METHOD_10 ( ) . METHOD_12 ( query . select ( root ) . METHOD_14 ( IDENT_8 . METHOD_16 ( IDENT_8 . exists ( METHOD_13 ) ) , IDENT_8 . METHOD_17 ( root . < org . joda . time . METHOD_3 > get ( STRING_3 ) , new org . joda . time . METHOD_3 ( ) ) ) ) . METHOD_18 ( ) ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( IDENT_1 ) , IDENT_6 . METHOD_9 ( ) )