METHOD_0 ( ) { javax . jcr . Node node = session . METHOD_1 ( ) . METHOD_2 ( "test" , STRING_0 ) ; node . setProperty ( STRING_1 , STRING_2 ) ; session . save ( ) ; java . lang . String sql = STRING_3 ; try { org . IDENT_0 . jcr . api . query . IDENT_1 . IDENT_2 IDENT_3 = session . METHOD_3 ( ) . METHOD_4 ( ) . METHOD_5 ( ) ; javax . jcr . query . IDENT_1 . IDENT_4 IDENT_5 = IDENT_3 . METHOD_6 ( STRING_4 , STRING_5 ) ; javax . jcr . query . IDENT_1 . IDENT_6 IDENT_7 = IDENT_3 . METHOD_7 ( STRING_5 , STRING_1 ) ; javax . jcr . query . IDENT_1 . IDENT_8 IDENT_9 = IDENT_3 . METHOD_8 ( session . METHOD_9 ( ) . METHOD_10 ( STRING_2 ) ) ; javax . jcr . query . IDENT_1 . IDENT_10 IDENT_11 = IDENT_3 . METHOD_11 ( IDENT_7 , IDENT_12 . IDENT_13 , METHOD_8 ) ; javax . jcr . query . Query query = IDENT_3 . METHOD_12 ( METHOD_6 , IDENT_11 , null , new javax . jcr . query . IDENT_1 . IDENT_14 [ 0 ] ) ; "<AssertPlaceHolder>" ; javax . jcr . query . IDENT_15 result = query . execute ( ) ; METHOD_13 ( ) . METHOD_14 ( 1 ) . validate ( query , result ) ; } finally { node . remove ( ) ; session . save ( ) ; } } METHOD_15 ( ) { return statement ; }
org . junit . Assert . assertThat ( query . METHOD_15 ( ) , org . hamcrest . core . Is . is ( sql ) )