METHOD_0 ( ) { org . mockito . Mockito . when ( IDENT_0 . METHOD_1 ( ( ( org . jboss . IDENT_1 . test . api . IDENT_2 ) ( org . mockito . Mockito . any ( ) ) ) , org . mockito . Mockito . METHOD_2 ( new org . jboss . IDENT_1 . test . impl . IDENT_3 . resource . IDENT_4 . METHOD_3 ( ) ) ) ) . thenReturn ( resource ) ; org . jboss . IDENT_1 . test . spi . IDENT_5 IDENT_3 = new org . jboss . IDENT_1 . test . impl . IDENT_3 . resource . METHOD_4 ( ) ; IDENT_6 . get ( ) . METHOD_5 ( IDENT_3 ) ; org . jboss . IDENT_1 . test . impl . IDENT_3 . resource . IDENT_4 . IDENT_7 test = new org . jboss . IDENT_1 . test . impl . IDENT_3 . resource . IDENT_4 . METHOD_6 ( ) ; java . lang . Throwable IDENT_8 = null ; try { IDENT_3 . METHOD_7 ( test ) ; } catch ( java . lang . RuntimeException ex ) { IDENT_8 = ex . METHOD_8 ( ) ; } "<AssertPlaceHolder>" ; } METHOD_8 ( ) { if ( ( IDENT_8 ) == null ) { if ( ( IDENT_9 ) != null ) { IDENT_8 = IDENT_9 . METHOD_9 ( ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( org . jboss . IDENT_1 . test . impl . IDENT_3 . resource . IllegalStateException . class , IDENT_8 . getClass ( ) )