METHOD_0 ( ) { java . net . URI uri = new java . net . URI ( STRING_0 ) ; java . lang . String IDENT_0 = STRING_1 ; java . lang . String result = uk . gov . IDENT_1 . IDENT_2 . core . interfaces . util . IDENT_3 . format ( uri ) ; "<AssertPlaceHolder>" ; } format ( java . net . URI ) { java . lang . StringBuilder b = new java . lang . StringBuilder ( ) ; if ( ! ( STRING_2 . equals ( uri . METHOD_1 ( ) ) ) ) { return uri . toString ( ) ; } b . append ( uri . METHOD_1 ( ) ) . append ( STRING_3 ) ; if ( uri . getPath ( ) . startsWith ( uk . gov . IDENT_1 . IDENT_2 . core . interfaces . util . IDENT_3 . IDENT_4 ) ) { b . append ( uk . gov . IDENT_1 . IDENT_2 . core . interfaces . util . IDENT_3 . IDENT_4 ) ; } if ( ( uri . METHOD_2 ( ) ) != null ) { b . append ( uri . METHOD_3 ( ) ) ; } b . append ( uk . gov . IDENT_1 . IDENT_2 . core . interfaces . util . IDENT_3 . METHOD_4 ( uri . getPath ( ) ) ) ; if ( ( uri . METHOD_5 ( ) ) != null ) { b . append ( uri . METHOD_6 ( ) ) ; } if ( ( uri . METHOD_7 ( ) ) != null ) { b . append ( uri . METHOD_8 ( ) ) ; } return b . toString ( ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . equalTo ( IDENT_0 ) )