METHOD_0 ( ) { nl . bzk . brp . IDENT_0 . IDENT_1 . validatie . IDENT_2 < nl . bzk . IDENT_3 . dal . domein . brp . entity . IDENT_4 > IDENT_5 = new nl . bzk . brp . IDENT_0 . IDENT_1 . validatie . METHOD_1 ( nl . bzk . IDENT_3 . dal . domein . brp . entity . IDENT_4 . class ) ; final java . util . Map < ? , ? > result = new java . util . HashMap ( ) ; final org . springframework . validation . IDENT_6 errors = new org . springframework . validation . METHOD_2 ( result , STRING_0 ) ; final nl . bzk . IDENT_3 . dal . domein . brp . entity . IDENT_4 IDENT_7 = org . mockito . Mockito . mock ( nl . bzk . IDENT_3 . dal . domein . brp . entity . IDENT_4 . class ) ; IDENT_7 . METHOD_3 ( INT_0 ) ; IDENT_7 . METHOD_4 ( INT_1 ) ; org . mockito . Mockito . when ( IDENT_7 . METHOD_5 ( ) ) . METHOD_6 ( java . lang . reflect . IDENT_8 . class ) ; IDENT_5 . validate ( IDENT_7 , errors ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( nl . bzk . brp . IDENT_0 . IDENT_1 . validatie . METHOD_1 , nl . bzk . IDENT_3 . dal . domein . brp . entity . IDENT_9 ) { final java . util . Map < ? , ? > result = new java . util . HashMap ( ) ; final org . springframework . validation . IDENT_6 errors = new org . springframework . validation . METHOD_2 ( result , STRING_1 ) ; subject . validate ( IDENT_10 , errors ) ; return errors . METHOD_8 ( ) ; }
org . junit . Assert . assertEquals ( 2 , METHOD_7 ( IDENT_5 , IDENT_7 ) )