METHOD_0 ( ) { try ( org . hibernate . IDENT_0 session = METHOD_1 ( ) ) { org . hibernate . IDENT_1 transaction = session . METHOD_2 ( ) ; org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( ) ; IDENT_6 . setId ( 1 ) ; org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_8 = new org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_4 ( ) ; IDENT_8 . setId ( 2 ) ; org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_9 IDENT_10 = new org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_5 ( ) ; IDENT_10 . setId ( 3 ) ; IDENT_10 . setName ( org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_11 ) ; IDENT_6 . METHOD_6 ( IDENT_8 ) ; IDENT_8 . METHOD_7 ( IDENT_6 ) ; IDENT_8 . METHOD_8 ( IDENT_10 ) ; IDENT_10 . METHOD_9 ( IDENT_8 ) ; session . save ( IDENT_6 ) ; session . save ( IDENT_8 ) ; session . save ( IDENT_10 ) ; transaction . commit ( ) ; } try ( org . hibernate . IDENT_0 session = METHOD_1 ( ) ; org . hibernate . search . IDENT_12 IDENT_13 = org . hibernate . search . IDENT_14 . METHOD_10 ( session ) ) { org . hibernate . IDENT_1 transaction = IDENT_13 . METHOD_2 ( ) ; org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_5 IDENT_10 = session . get ( org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_5 . class , 3 ) ; IDENT_10 . setName ( org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_15 ) ; transaction . commit ( ) ; } try ( org . hibernate . IDENT_0 session = METHOD_1 ( ) ; org . hibernate . search . IDENT_12 IDENT_13 = org . hibernate . search . IDENT_14 . METHOD_10 ( session ) ) { org . apache . lucene . search . Query q = new org . apache . lucene . search . METHOD_11 ( new org . apache . lucene . index . METHOD_12 ( STRING_0 , org . hibernate . search . test . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_15 ) ) ; org . hibernate . search . IDENT_16 IDENT_17 = IDENT_13 . METHOD_13 ( q ) ; "<AssertPlaceHolder>" ; } } METHOD_14 ( ) { try { return METHOD_15 ( ) ; } catch ( org . hibernate . IDENT_18 IDENT_19 ) { throw METHOD_16 ( ) . convert ( IDENT_19 ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_17 . METHOD_14 ( ) )