METHOD_0 ( ) { METHOD_1 ( ) ; org . hibernate . IDENT_0 session = METHOD_2 ( ) ; org . hibernate . IDENT_1 tx = session . METHOD_3 ( ) ; org . hibernate . search . IDENT_2 IDENT_3 = org . hibernate . search . IDENT_4 . METHOD_4 ( session ) ; org . apache . lucene . IDENT_5 . IDENT_6 . IDENT_7 parser = new org . apache . lucene . IDENT_5 . IDENT_6 . METHOD_5 ( new java . lang . String [ ] { STRING_0 } , org . hibernate . search . IDENT_8 . IDENT_9 . IDENT_10 ) ; org . apache . lucene . search . Query query = parser . parse ( STRING_1 ) ; org . hibernate . IDENT_11 criteria = session . METHOD_6 ( org . hibernate . search . test . query . criteria . IDENT_12 . class ) ; criteria . add ( org . hibernate . IDENT_13 . IDENT_14 . eq ( STRING_2 , Boolean . IDENT_15 ) ) ; org . hibernate . query . Query IDENT_16 = IDENT_3 . METHOD_7 ( query ) . METHOD_8 ( criteria ) ; java . util . List result = IDENT_16 . list ( ) ; "<AssertPlaceHolder>" ; tx . commit ( ) ; session . close ( ) ; } size ( ) { return size ; }
org . junit . Assert . assertEquals ( 2 , result . size ( ) )