METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . internal . IDENT_2 . transaction . IDENT_3 . IDENT_4 IDENT_5 = new com . IDENT_0 . IDENT_1 . internal . IDENT_2 . transaction . IDENT_3 . METHOD_1 ( ) ; IDENT_5 . METHOD_2 ( ) ; javax . persistence . IDENT_6 em = org . hibernate . search . test . integration . IDENT_7 . IDENT_8 . factory . METHOD_3 ( ) ; org . hibernate . search . test . integration . IDENT_7 . IDENT_9 IDENT_10 = new org . hibernate . search . test . integration . IDENT_7 . METHOD_4 ( STRING_0 ) ; em . METHOD_5 ( IDENT_10 ) ; IDENT_5 . commit ( ) ; em . close ( ) ; IDENT_5 . METHOD_2 ( ) ; em = org . hibernate . search . test . integration . IDENT_7 . IDENT_8 . factory . METHOD_3 ( ) ; org . hibernate . search . jpa . IDENT_11 IDENT_12 = org . hibernate . search . jpa . IDENT_13 . METHOD_6 ( em ) ; final org . hibernate . search . query . IDENT_14 . IDENT_15 builder = IDENT_12 . METHOD_7 ( ) . METHOD_8 ( ) . METHOD_9 ( org . hibernate . search . test . integration . IDENT_7 . METHOD_4 . class ) . get ( ) ; final org . apache . lucene . search . Query query = builder . METHOD_10 ( ) . METHOD_11 ( STRING_1 ) . METHOD_12 ( STRING_2 ) . METHOD_13 ( ) ; IDENT_12 . METHOD_14 ( query , org . hibernate . search . test . integration . IDENT_7 . METHOD_4 . class ) . METHOD_15 ( ) ; final java . util . List IDENT_16 = em . METHOD_13 ( ( STRING_3 + ( org . hibernate . search . test . integration . IDENT_7 . METHOD_4 . class . getName ( ) ) ) ) . METHOD_15 ( ) ; "<AssertPlaceHolder>" ; for ( java . lang . Object o : IDENT_16 ) { em . remove ( o ) ; } IDENT_5 . commit ( ) ; em . close ( ) ; } size ( ) { return size ; }
org . junit . Assert . assertEquals ( 1 , IDENT_16 . size ( ) )