METHOD_0 ( ) { final javax . validation . IDENT_0 validator = org . opennms . IDENT_1 . xml . event . IDENT_2 . factory . METHOD_1 ( ) ; final org . opennms . IDENT_1 . xml . event . IDENT_3 event = new org . opennms . IDENT_1 . xml . event . METHOD_2 ( ) ; event . METHOD_3 ( STRING_0 ) ; event . METHOD_4 ( new java . util . Date ( ) ) ; final org . opennms . IDENT_1 . xml . event . IDENT_4 action = new org . opennms . IDENT_1 . xml . event . METHOD_5 ( ) ; action . METHOD_6 ( STRING_1 ) ; event . METHOD_7 ( action ) ; final java . util . Set < javax . validation . IDENT_5 < org . opennms . IDENT_1 . xml . event . METHOD_2 > > errors = validator . validate ( event ) ; org . opennms . IDENT_1 . xml . event . IDENT_2 . LOG . debug ( STRING_2 , errors ) ; "<AssertPlaceHolder>" ; } size ( ) { IDENT_6 . METHOD_8 ( ) . METHOD_9 ( ) ; try { return IDENT_7 . size ( ) ; } finally { IDENT_6 . METHOD_8 ( ) . METHOD_10 ( ) ; } }
org . junit . Assert . assertEquals ( 2 , errors . size ( ) )