METHOD_0 ( ) { org . glassfish . IDENT_0 . IDENT_1 . IDENT_2 di = new org . glassfish . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; di . METHOD_2 ( org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 ) ; di . METHOD_3 ( org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 ) ; java . io . ByteArrayOutputStream IDENT_7 = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_8 IDENT_9 = new java . io . METHOD_4 ( IDENT_7 ) ; di . METHOD_5 ( IDENT_9 ) ; IDENT_9 . close ( ) ; org . glassfish . IDENT_0 . api . IDENT_10 IDENT_11 = org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_3 . METHOD_6 ( org . glassfish . IDENT_0 . api . IDENT_10 . class ) ; "<AssertPlaceHolder>" ; org . glassfish . IDENT_0 . api . IDENT_12 IDENT_13 = IDENT_11 . METHOD_7 ( ) ; java . io . ByteArrayInputStream IDENT_14 = new java . io . ByteArrayInputStream ( IDENT_7 . toByteArray ( ) ) ; try { IDENT_13 . METHOD_8 ( new org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_9 ( IDENT_14 ) , new org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_10 ( ) ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . glassfish . IDENT_0 . api . IDENT_15 me ) { boolean found = false ; for ( java . lang . Throwable IDENT_16 : me . METHOD_11 ( ) ) { if ( IDENT_16 . getMessage ( ) . equals ( org . glassfish . IDENT_0 . tests . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_17 ) ) { found = true ; break ; } } if ( ! found ) throw me ; } } METHOD_6 ( org . glassfish . IDENT_0 . api . IDENT_18 ) { if ( ( root ) instanceof org . IDENT_19 . IDENT_0 . internal . IDENT_20 ) { org . IDENT_19 . IDENT_0 . internal . IDENT_20 IDENT_21 = ( ( org . IDENT_19 . IDENT_0 . internal . IDENT_20 ) ( root ) ) ; if ( IDENT_21 . METHOD_12 ( ) ) { throw new java . lang . IllegalStateException ( ( STRING_1 + ( root ) ) ) ; } } MOD_0 ( IDENT_22 ) { if ( IDENT_23 ) throw new java . lang . IllegalStateException ( STRING_2 ) ; if ( IDENT_24 ) return service ; org . glassfish . IDENT_0 . api . IDENT_25 IDENT_26 = METHOD_13 ( ) ; java . lang . Class < ? > IDENT_27 = ( IDENT_26 == null ) ? null : org . glassfish . IDENT_0 . IDENT_1 . IDENT_28 . IDENT_29 . METHOD_14 ( IDENT_26 . METHOD_15 ( ) ) ; service = org . IDENT_19 . IDENT_0 . internal . IDENT_30 . METHOD_16 ( root , IDENT_26 , IDENT_3 , IDENT_31 , IDENT_27 ) ; IDENT_24 = true ; return service ; } }
org . junit . Assert . assertNotNull ( IDENT_11 )