METHOD_0 ( ) { boolean actual = IDENT_0 . springframework . IDENT_1 . IDENT_2 . IDENT_3 . isValid ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } isValid ( java . lang . String ) { java . lang . String regex = STRING_0 ; java . util . regex . IDENT_5 pattern = java . util . regex . IDENT_5 . METHOD_1 ( regex ) ; java . util . regex . IDENT_6 m = pattern . matcher ( IDENT_7 ) ; return m . matches ( ) ; }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( expected ) ) )