METHOD_0 ( ) { java . util . HashMap < java . lang . String , java . lang . String > args = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; for ( int x = - 10 ; x <= 10 ; x ++ ) { java . lang . String IDENT_0 = java . lang . String . valueOf ( x ) ; args . put ( IDENT_0 , IDENT_0 ) ; } instance = new edu . IDENT_1 . IDENT_2 . shared . IDENT_3 . IDENT_4 . METHOD_1 ( args ) ; IDENT_5 = new edu . IDENT_1 . IDENT_2 . server . METHOD_2 ( ) ; java . lang . String expResult = STRING_0 + STRING_1 ; "<AssertPlaceHolder>" ; } build ( edu . IDENT_1 . IDENT_2 . shared . IDENT_3 . IDENT_4 . IDENT_6 ) { java . lang . StringBuilder query = new java . lang . StringBuilder ( ) ; for ( java . lang . String key : args . METHOD_3 ( ) ) { for ( java . lang . String value : args . get ( key ) ) { if ( ( query . length ( ) ) == 0 ) { query . append ( key ) . append ( STRING_2 ) . append ( IDENT_5 . encode ( value ) ) ; } else { query . append ( STRING_3 ) . append ( key ) . append ( STRING_2 ) . append ( IDENT_5 . encode ( value ) ) ; } } } java . lang . String url = ( ( ( ( ( ( ( protocol ) + STRING_4 ) + ( host ) ) + STRING_5 ) + ( port ) ) + ( page ) ) + ( ( query . length ( ) ) > 0 ? STRING_6 : "" ) ) + ( query . toString ( ) ) ; return url ; }
org . junit . Assert . assertEquals ( expResult , instance . build ( IDENT_5 ) )