METHOD_0 ( ) { exception . expect ( org . apache . IDENT_0 . indexing . dao . search . IDENT_1 . class ) ; exception . METHOD_1 ( STRING_0 ) ; org . apache . IDENT_0 . indexing . dao . search . IDENT_2 IDENT_3 = mock ( org . apache . IDENT_0 . indexing . dao . search . IDENT_2 . class ) ; org . apache . IDENT_0 . indexing . dao . search . IDENT_4 IDENT_5 = mock ( org . apache . IDENT_0 . indexing . dao . search . IDENT_4 . class ) ; IDENT_6 = METHOD_2 ( new org . apache . IDENT_0 . solr . dao . METHOD_3 ( client , IDENT_7 ) ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_5 ( ) ) . thenReturn ( Collections . IDENT_8 ) ; when ( IDENT_3 . METHOD_6 ( ) ) . thenReturn ( java . util . Optional . of ( STRING_2 ) ) ; when ( IDENT_3 . METHOD_7 ( ) ) . thenReturn ( java . util . Arrays . asList ( STRING_3 , STRING_4 ) ) ; "<AssertPlaceHolder>" ; METHOD_8 ( client ) ; } group ( org . apache . IDENT_0 . indexing . dao . search . IDENT_2 ) { try { if ( ( ( IDENT_3 . METHOD_7 ( ) ) == null ) || ( IDENT_3 . METHOD_7 ( ) . isEmpty ( ) ) ) { IDENT_3 . METHOD_9 ( METHOD_10 ( ) ) ; } return dao . group ( IDENT_3 ) ; } catch ( org . apache . IDENT_0 . indexing . dao . search . IDENT_1 IDENT_9 ) { throw new org . apache . IDENT_0 . rest . METHOD_11 ( IDENT_9 . getMessage ( ) , IDENT_9 ) ; } }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_6 . group ( IDENT_3 ) )