METHOD_0 ( ) { @ org . IDENT_0 . rules . annotation . IDENT_1 class IDENT_2 { @ org . IDENT_0 . rules . annotation . IDENT_3 public boolean when ( ) { return true ; } @ org . IDENT_0 . rules . annotation . IDENT_4 public void METHOD_1 ( ) { } @ org . IDENT_0 . rules . annotation . IDENT_5 public int METHOD_2 ( ) { return 2 ; } } java . lang . Object rule = new METHOD_3 ( ) ; org . IDENT_0 . rules . api . IDENT_1 proxy = org . IDENT_0 . rules . core . IDENT_6 . METHOD_4 ( rule ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return IDENT_7 ; }
org . junit . Assert . assertEquals ( 2 , proxy . METHOD_2 ( ) )