METHOD_0 ( ) { org . apache . IDENT_0 . service . client . IDENT_1 IDENT_2 = mock ( org . apache . IDENT_0 . service . client . IDENT_1 . class ) ; org . apache . IDENT_0 . service . client . IDENT_3 client = new org . apache . IDENT_0 . service . client . impl . METHOD_1 ( IDENT_2 ) ; java . lang . String IDENT_4 = STRING_0 ; java . lang . String query = ( ( STRING_1 + STRING_2 ) + IDENT_4 ) + STRING_3 ; org . apache . IDENT_0 . service . client . impl . IDENT_5 IDENT_6 = client . search ( ) . METHOD_2 ( STRING_4 ) . METHOD_3 ( 0 ) . METHOD_4 ( ( 10 * ( org . apache . commons . lang . time . IDENT_7 . IDENT_8 ) ) ) . METHOD_5 ( Integer . MAX_VALUE ) . METHOD_6 ( true ) . METHOD_7 ( STRING_5 ) . query ( query ) ; java . lang . reflect . Field IDENT_9 = org . apache . IDENT_0 . service . client . impl . IDENT_5 . class . METHOD_8 ( STRING_6 ) ; IDENT_9 . METHOD_9 ( true ) ; org . apache . IDENT_0 . service . client . IDENT_10 request = ( ( org . apache . IDENT_0 . service . client . IDENT_10 ) ( IDENT_9 . get ( IDENT_6 ) ) ) ; java . lang . String expected = STRING_7 ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { if ( ( METHOD_5 ) < 0 ) { throw new org . apache . IDENT_0 . service . client . METHOD_11 ( ( STRING_8 + ( METHOD_5 ) ) ) ; } final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( STRING_9 0 ) . append ( query ) ; if ( ( METHOD_2 ) != null ) { sb . append ( STRING_10 ) . append ( METHOD_2 ) ; } sb . append ( STRING_11 ) . append ( this . METHOD_5 ) ; if ( ( ( METHOD_3 ) != 0 ) || ( ( METHOD_4 ) != 0 ) ) { java . util . Date date = new java . util . Date ( METHOD_3 ) ; java . text . IDENT_11 IDENT_12 = new java . text . METHOD_12 ( STRING_12 ) ; IDENT_12 . METHOD_13 ( org . apache . IDENT_0 . common . config . IDENT_13 . load ( ) . METHOD_14 ( ) ) ; java . lang . String IDENT_14 = IDENT_12 . format ( date ) ; sb . append ( STRING_13 ) . append ( IDENT_14 ) ; date . METHOD_15 ( METHOD_4 ) ; IDENT_14 = IDENT_12 . format ( date ) ; sb . append ( STRING_14 ) . append ( IDENT_14 ) ; } sb . append ( STRING_9 ) . append ( IDENT_15 ) ; if ( ( METHOD_7 ) != null ) { sb . append ( STRING_9 1 ) . append ( METHOD_7 ) ; } if ( ( METHOD_6 ) == true ) { sb . append ( STRING_15 ) . append ( STRING_16 ) ; } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , request . METHOD_10 ( ) )