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