METHOD_0 ( ) { org . IDENT_0 . annotation . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . annotation . IDENT_1 . class ) ; org . IDENT_0 . annotation . IDENT_1 IDENT_3 = mock ( org . IDENT_0 . annotation . IDENT_1 . class ) ; java . lang . annotation . IDENT_4 [ ] IDENT_5 = new java . lang . annotation . IDENT_4 [ ] { IDENT_2 } ; org . IDENT_6 . api . mockito . IDENT_7 . METHOD_1 ( org . springframework . core . annotation . IDENT_8 . class ) ; when ( org . IDENT_0 . utils . org . springframework . core . annotation . IDENT_8 . METHOD_2 ( IDENT_5 [ 0 ] , org . IDENT_0 . annotation . IDENT_1 . class ) ) . thenReturn ( IDENT_3 ) ; org . IDENT_0 . annotation . IDENT_1 found = org . IDENT_0 . utils . IDENT_8 . METHOD_3 ( IDENT_5 , org . IDENT_0 . annotation . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; org . IDENT_6 . api . mockito . IDENT_7 . METHOD_4 ( ) ; org . IDENT_0 . utils . org . springframework . core . annotation . IDENT_8 . METHOD_2 ( IDENT_5 [ 0 ] , org . IDENT_0 . annotation . IDENT_1 . class ) ; } METHOD_3 ( java . lang . annotation . IDENT_4 [ ] , java . lang . Class ) { for ( java . lang . annotation . IDENT_4 a : IDENT_5 ) { T annotation = org . IDENT_0 . utils . IDENT_8 . METHOD_5 ( a , IDENT_9 ) ; if ( annotation != null ) return annotation ; } return null ; }
org . junit . Assert . assertNotNull ( found )