METHOD_0 ( ) { org . glassfish . IDENT_0 . api . IDENT_1 IDENT_2 = org . glassfish . IDENT_0 . xml . test . IDENT_3 . IDENT_4 . METHOD_1 ( ) ; org . glassfish . IDENT_0 . xml . api . IDENT_5 IDENT_6 = IDENT_2 . METHOD_2 ( org . glassfish . IDENT_0 . xml . api . IDENT_5 . class ) ; java . net . URL url = getClass ( ) . METHOD_3 ( ) . getResource ( org . glassfish . IDENT_0 . xml . test . validation . IDENT_7 . IDENT_8 ) ; org . glassfish . IDENT_0 . xml . api . IDENT_9 < org . glassfish . IDENT_0 . xml . test . validation . IDENT_10 > IDENT_11 = IDENT_6 . METHOD_4 ( url . METHOD_5 ( ) , org . glassfish . IDENT_0 . xml . test . validation . IDENT_10 . class ) ; IDENT_11 . METHOD_6 ( ) ; org . glassfish . IDENT_0 . xml . test . validation . IDENT_12 IDENT_13 = IDENT_6 . METHOD_7 ( org . glassfish . IDENT_0 . xml . test . validation . IDENT_12 . class ) ; org . glassfish . IDENT_0 . xml . test . validation . IDENT_10 root = IDENT_11 . METHOD_8 ( ) ; try { root . METHOD_9 ( IDENT_13 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . glassfish . IDENT_0 . api . IDENT_14 me ) { org . glassfish . IDENT_0 . xml . test . validation . IDENT_7 . METHOD_10 ( me , STRING_1 ) ; } org . glassfish . IDENT_0 . xml . test . validation . IDENT_12 [ ] IDENT_15 = root . METHOD_11 ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( org . glassfish . IDENT_0 . api . IDENT_14 , java . lang . String ) { javax . validation . IDENT_16 found = null ; for ( java . lang . Throwable IDENT_17 : me . METHOD_12 ( ) ) { if ( IDENT_17 instanceof javax . validation . IDENT_16 ) { found = ( ( javax . validation . IDENT_16 ) ( IDENT_17 ) ) ; break ; } } org . junit . Assert . assertNotNull ( found ) ; boolean IDENT_18 = false ; java . util . Set < javax . validation . IDENT_19 < ? > > IDENT_20 = found . METHOD_13 ( ) ; for ( javax . validation . IDENT_19 < ? > IDENT_21 : IDENT_20 ) { if ( IDENT_22 . equals ( IDENT_21 . getMessage ( ) ) ) { IDENT_18 = true ; break ; } } org . junit . Assert . assertTrue ( ( ( ( STRING_2 + me ) + STRING_3 ) + IDENT_22 ) , IDENT_18 ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_15 . length )