METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . commons . io . IDENT_1 . toByteArray ( org . apache . nifi . controller . IDENT_2 . class . getResourceAsStream ( STRING_0 ) ) ; IDENT_3 . load ( new org . apache . nifi . cluster . protocol . METHOD_1 ( IDENT_0 , null , null , new java . util . HashSet ( ) ) ) ; org . apache . nifi . controller . serialization . IDENT_4 serializer = new org . apache . nifi . controller . serialization . METHOD_2 ( IDENT_5 ) ; java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; final org . w3c . dom . Document doc = serializer . transform ( IDENT_7 , IDENT_8 . IDENT_9 ) ; serializer . serialize ( doc , IDENT_6 ) ; java . lang . String IDENT_10 = new java . lang . String ( IDENT_0 ) . trim ( ) ; java . lang . String IDENT_11 = new java . lang . String ( IDENT_6 . toByteArray ( ) ) . trim ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { final org . apache . nifi . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 IDENT_14 = response . METHOD_3 ( ) ; return IDENT_16 . encode ( IDENT_14 ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , IDENT_11 )