METHOD_0 ( ) { javax . management . IDENT_0 IDENT_1 = mock ( javax . management . IDENT_0 . class ) ; javax . management . IDENT_2 name = javax . management . IDENT_2 . getInstance ( STRING_0 ) ; when ( IDENT_1 . invoke ( METHOD_1 ( name ) , eq ( STRING_1 ) , ( ( java . lang . Object [ ] ) ( METHOD_2 ( ) ) ) , ( ( java . lang . String [ ] ) ( METHOD_2 ( ) ) ) ) ) . METHOD_3 ( new javax . management . METHOD_4 ( ) ) ; org . jboss . IDENT_3 . container . tomcat . IDENT_4 provider = new org . jboss . IDENT_3 . container . tomcat . METHOD_5 ( IDENT_1 , name ) ; java . lang . RuntimeException exception = null ; try { provider . METHOD_6 ( ) ; } catch ( java . lang . IllegalStateException e ) { exception = e ; } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return this . server ; }
org . junit . Assert . assertNotNull ( exception )