METHOD_0 ( ) { transaction . METHOD_1 ( ) ; org . jboss . IDENT_0 . persistence . test . util . IDENT_1 IDENT_2 = new org . jboss . IDENT_0 . persistence . test . util . METHOD_2 ( STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 ) ; em . METHOD_3 ( IDENT_2 ) ; em . METHOD_4 ( ) ; transaction . commit ( ) ; transaction . METHOD_1 ( ) ; IDENT_2 = new org . jboss . IDENT_0 . persistence . test . util . METHOD_2 ( STRING_6 , STRING_7 , STRING_2 , STRING_3 , STRING_4 , STRING_5 ) ; em . METHOD_3 ( IDENT_2 ) ; em . METHOD_4 ( ) ; transaction . commit ( ) ; transaction . METHOD_1 ( ) ; java . lang . String [ ] fields = new java . lang . String [ ] { "name" } ; org . apache . lucene . IDENT_3 . IDENT_4 parser = new org . apache . lucene . IDENT_3 . METHOD_5 ( org . apache . lucene . util . IDENT_5 . IDENT_6 , fields , new org . apache . lucene . analysis . IDENT_7 . METHOD_6 ( org . apache . lucene . util . IDENT_5 . IDENT_6 ) ) ; org . apache . lucene . search . Query query = parser . parse ( STRING_8 ) ; javax . persistence . Query IDENT_8 = em . METHOD_7 ( query , org . jboss . IDENT_0 . persistence . test . util . METHOD_2 . class ) ; org . jboss . IDENT_0 . persistence . test . util . METHOD_2 IDENT_9 = ( ( org . jboss . IDENT_0 . persistence . test . util . METHOD_2 ) ( IDENT_8 . METHOD_8 ( ) ) ) ; "<AssertPlaceHolder>" ; transaction . commit ( ) ; } getName ( ) { return name ; }
org . junit . Assert . assertTrue ( IDENT_9 . getName ( ) . equals ( STRING_6 ) )