METHOD_0 ( ) { java . lang . String error = IDENT_0 . IDENT_1 . validate ( STRING_0 , "" ) ; "<AssertPlaceHolder>" ; } validate ( java . lang . String , java . lang . String ) { if ( value == null ) return STRING_1 + IDENT_2 ; if ( ( value . length ( ) ) == 0 ) return STRING_2 + IDENT_2 ; int IDENT_3 = value . indexOf ( STRING_3 ) ; IDENT_2 = STRING_4 + value ; if ( IDENT_3 == ( - 1 ) ) return STRING_5 + IDENT_2 ; if ( IDENT_3 == 0 ) return STRING_6 + IDENT_2 ; if ( ! ( value . substring ( 0 , IDENT_3 ) . matches ( STRING_7 ) ) ) { return STRING_8 + IDENT_2 ; } value = value . substring ( ( IDENT_3 + 1 ) ) ; if ( ! ( value . matches ( STRING_9 ) ) ) { return STRING_10 + IDENT_2 ; } if ( ( value . indexOf ( STRING_11 ) ) == ( - 1 ) ) { return STRING_12 + IDENT_2 ; } return null ; }
org . junit . Assert . assertNull ( error )