METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { java . lang . String expression = STRING_0 ; if ( org . apache . commons . lang3 . StringUtils . isEmpty ( IDENT_0 ) ) { return true ; } try { java . util . regex . IDENT_1 pattern = java . util . regex . IDENT_1 . METHOD_2 ( expression , IDENT_1 . IDENT_2 ) ; java . util . regex . IDENT_3 matcher = pattern . matcher ( IDENT_0 ) ; return matcher . matches ( ) ; } catch ( java . util . regex . IDENT_4 IDENT_5 ) { org . openmrs . validator . IDENT_6 . log . error ( STRING_1 , IDENT_5 ) ; return false ; } }
org . junit . Assert . assertTrue ( validator . METHOD_1 ( null ) )