METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_3 = METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( ) . METHOD_3 ( ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . validation . IDENT_6 a = IDENT_3 . create ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . validation . IDENT_6 . class ) ; java . util . Set < javax . validation . IDENT_7 < ? > > IDENT_8 = null ; try { IDENT_3 . METHOD_2 ( ) . commit ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( javax . validation . IDENT_9 e ) { IDENT_8 = e . METHOD_4 ( ) ; } "<AssertPlaceHolder>" ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . validation . IDENT_10 b = IDENT_3 . create ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . validation . IDENT_10 . class ) ; a . METHOD_5 ( b ) ; a . setName ( STRING_1 ) ; IDENT_3 . METHOD_2 ( ) . commit ( ) ; } size ( ) { return 0 ; }
org . junit . Assert . assertThat ( IDENT_8 . size ( ) , org . hamcrest . Matchers . equalTo ( 2 ) )