METHOD_0 ( ) { final java . util . Set < org . kie . workbench . common . services . IDENT_0 . model . index . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_1 = new java . util . HashSet ( ) ; final org . apache . lucene . search . Query IDENT_4 = mock ( org . apache . lucene . search . Query . class ) ; METHOD_1 ( ) . when ( query ) . METHOD_2 ( IDENT_1 ) ; doReturn ( IDENT_4 ) . when ( query ) . METHOD_3 ( IDENT_1 ) ; final org . apache . lucene . search . Query IDENT_5 = query . METHOD_4 ( IDENT_1 ) ; verify ( query ) . METHOD_2 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . Set ) { org . kie . IDENT_6 . commons . validation . IDENT_7 . METHOD_5 ( STRING_0 , IDENT_1 ) ; if ( IDENT_1 . isEmpty ( ) ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_5 )