METHOD_0 ( ) { org . apache . IDENT_0 . indexing . dao . search . IDENT_1 IDENT_2 = mock ( org . apache . IDENT_0 . indexing . dao . search . IDENT_1 . class ) ; org . apache . solr . client . IDENT_3 . response . IDENT_4 IDENT_5 = mock ( org . apache . solr . client . IDENT_3 . response . IDENT_4 . class ) ; org . apache . solr . common . util . IDENT_6 IDENT_7 = mock ( org . apache . solr . common . util . IDENT_6 . class ) ; java . util . List IDENT_8 = mock ( java . util . List . class ) ; java . util . List IDENT_9 = mock ( java . util . List . class ) ; IDENT_10 = METHOD_1 ( new org . apache . IDENT_0 . solr . dao . METHOD_2 ( client , IDENT_11 ) ) ; org . apache . IDENT_0 . indexing . dao . search . IDENT_12 IDENT_13 = new org . apache . IDENT_0 . indexing . dao . search . METHOD_3 ( ) ; IDENT_13 . METHOD_4 ( STRING_0 ) ; org . apache . IDENT_0 . indexing . dao . search . METHOD_3 IDENT_14 = new org . apache . IDENT_0 . indexing . dao . search . METHOD_3 ( ) ; IDENT_14 . METHOD_4 ( STRING_1 ) ; when ( IDENT_2 . METHOD_5 ( ) ) . thenReturn ( java . util . Arrays . asList ( IDENT_13 , IDENT_14 ) ) ; when ( IDENT_5 . METHOD_6 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . get ( STRING_2 ) ) . thenReturn ( IDENT_8 ) ; doReturn ( IDENT_9 ) . when ( IDENT_10 ) . METHOD_7 ( IDENT_2 , 0 , IDENT_8 ) ; org . apache . IDENT_0 . indexing . dao . search . IDENT_15 IDENT_16 = IDENT_10 . METHOD_8 ( IDENT_2 , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 ) . get ( STRING_2 ) ; verify ( IDENT_10 ) . METHOD_7 ( IDENT_2 , 0 , IDENT_8 ) ; } METHOD_9 ( ) { return IDENT_17 ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_16 . METHOD_9 ( ) )