METHOD_0 ( ) { org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . models . IDENT_3 < java . lang . String > IDENT_4 = mock ( org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . models . IDENT_3 . class ) ; when ( IDENT_4 . METHOD_1 ( any ( ) ) ) . METHOD_2 ( new java . util . concurrent . METHOD_3 ( STRING_0 ) ) ; org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . models . IDENT_3 < java . lang . String > IDENT_5 = new org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . models . METHOD_4 ( IDENT_4 , java . lang . String . class ) ; for ( int i = 0 ; i < 3 ; i ++ ) { try { IDENT_5 . METHOD_1 ( null ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . Exception IDENT_6 ) { java . lang . Throwable e = org . springframework . IDENT_0 . IDENT_1 . commons . util . IDENT_7 . METHOD_5 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; } } verify ( IDENT_4 , times ( 1 ) ) . METHOD_1 ( any ( ) ) ; } METHOD_5 ( java . lang . Throwable ) { java . lang . Throwable IDENT_8 = e ; java . lang . Throwable parent = e . METHOD_6 ( ) ; while ( ( parent != null ) && ( parent != e ) ) { IDENT_8 = parent ; parent = IDENT_8 . METHOD_6 ( ) ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( java . util . concurrent . METHOD_3 . class , e . getClass ( ) )