METHOD_0 ( ) { final java . lang . String expected = STRING_0 ; final io . IDENT_0 . IDENT_1 . uri . IDENT_2 uri = io . IDENT_0 . IDENT_1 . uri . IDENT_3 . METHOD_1 ( io . IDENT_0 . IDENT_1 . uri . IDENT_2 . create ( expected ) ) . build ( ) ; "<AssertPlaceHolder>" ; } toString ( ) { if ( ( IDENT_4 ) == null ) { java . lang . StringBuilder uri = new java . lang . StringBuilder ( ) ; if ( ( IDENT_5 ) != null ) { uri . append ( IDENT_5 ) . append ( STRING_1 ) ; } if ( ( user ) != null ) { uri . append ( IDENT_6 . encode ( user ) ) ; if ( ( IDENT_7 ) != null ) { uri . append ( STRING_2 ) . append ( IDENT_6 . encode ( IDENT_7 ) ) ; } uri . append ( STRING_3 ) ; } if ( ( host ) != null ) { uri . append ( host ) ; } if ( ( port ) > 0 ) { uri . append ( STRING_2 ) . append ( port ) ; } if ( ( path ) != null ) { uri . append ( IDENT_8 ) ; } if ( ( ( query ) != null ) && ( ! ( query . isEmpty ( ) ) ) ) { uri . append ( STRING_4 ) . append ( IDENT_9 ) ; } if ( ( IDENT_10 ) != null ) { uri . append ( STRING_5 ) . append ( IDENT_6 . encode ( IDENT_10 ) ) ; } IDENT_4 = uri . toString ( ) ; } return IDENT_4 ; }
org . junit . Assert . assertEquals ( expected , uri . toString ( ) )