METHOD_0 ( ) { java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; org . glassfish . admin . rest . IDENT_1 . writer . METHOD_1 ( org . glassfish . admin . rest . IDENT_1 . IDENT_2 , null , null , null , IDENT_3 . IDENT_4 , null , IDENT_0 ) ; IDENT_0 . close ( ) ; java . io . ByteArrayInputStream IDENT_5 = new java . io . ByteArrayInputStream ( IDENT_0 . toByteArray ( ) ) ; org . glassfish . api . admin . IDENT_6 . IDENT_7 event = org . glassfish . admin . rest . IDENT_1 . reader . METHOD_2 ( IDENT_5 , IDENT_3 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . InputStream , java . lang . String ) { java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; com . sun . IDENT_9 . util . io . IDENT_10 . METHOD_3 ( is , IDENT_0 , 0 ) ; java . lang . String str = IDENT_0 . toString ( STRING_0 ) ; try ( javax . json . stream . IDENT_11 parser = javax . json . IDENT_12 . METHOD_4 ( new java . io . METHOD_5 ( str ) ) ) { parser . next ( ) ; javax . json . IDENT_13 json = parser . METHOD_6 ( ) ; return com . sun . IDENT_9 . admin . remote . reader . IDENT_14 . METHOD_7 ( json ) ; } catch ( javax . json . IDENT_15 ex ) { com . sun . IDENT_9 . admin . remote . reader . IDENT_14 . IDENT_16 . logger . log ( IDENT_17 . IDENT_18 , IDENT_19 . IDENT_20 , ex ) ; throw new java . io . IOException ( ex ) ; } }
org . junit . Assert . assertEquals ( event , org . glassfish . admin . rest . IDENT_1 . IDENT_2 )