METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String , boolean ) { boolean isValid = false ; boolean IDENT_0 = ( input == null ) || ( "" . equals ( input ) ) ; org . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = org . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_2 ( ) ; try { java . net . URI IDENT_6 = ( null == input ) ? new java . net . URI ( "" ) : this . METHOD_3 ( input ) ; if ( ( null != IDENT_6 ) && ( input != null ) ) { java . lang . String IDENT_7 = METHOD_2 . METHOD_4 ( IDENT_6 ) ; org . IDENT_1 . IDENT_2 . reference . IDENT_8 . logger . debug ( IDENT_9 . IDENT_10 , ( ( STRING_0 + input ) + "]" ) ) ; org . IDENT_1 . IDENT_2 . IDENT_11 v = org . IDENT_1 . IDENT_2 . IDENT_5 . validator ( ) ; java . util . regex . IDENT_12 p = org . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_5 ( ) . METHOD_6 ( STRING_1 ) ; if ( p != null ) { isValid = p . matcher ( IDENT_7 ) . matches ( ) ; } else { org . IDENT_1 . IDENT_2 . reference . IDENT_8 . logger . error ( IDENT_9 . IDENT_13 , STRING_2 ) ; } } else { if ( IDENT_14 && IDENT_0 ) { isValid = true ; } } } catch ( org . IDENT_1 . IDENT_2 . errors . IDENT_15 e ) { org . IDENT_1 . IDENT_2 . reference . IDENT_8 . logger . error ( IDENT_9 . IDENT_16 , e . getMessage ( ) ) ; isValid = false ; } catch ( java . net . IDENT_17 e ) { org . IDENT_1 . IDENT_2 . reference . IDENT_8 . logger . error ( IDENT_9 . IDENT_13 , e . getMessage ( ) ) ; } return isValid ; }
org . junit . Assert . assertEquals ( this . expected , v . METHOD_1 ( STRING_1 , uri , false ) )