METHOD_0 ( ) { org . apache . nifi . authorization . User IDENT_0 = new org . apache . nifi . authorization . User . Builder ( ) . METHOD_1 ( STRING_0 ) . METHOD_2 ( STRING_1 ) . build ( ) ; org . apache . nifi . authorization . User IDENT_1 = new org . apache . nifi . authorization . User . Builder ( ) . METHOD_1 ( STRING_2 ) . METHOD_2 ( STRING_3 0 ) . build ( ) ; org . apache . nifi . authorization . IDENT_2 IDENT_3 = new org . apache . nifi . authorization . IDENT_2 . Builder ( ) . METHOD_1 ( STRING_3 1 ) . name ( STRING_4 ) . METHOD_3 ( IDENT_0 . METHOD_4 ( ) ) . build ( ) ; org . apache . nifi . authorization . IDENT_2 IDENT_4 = new org . apache . nifi . authorization . IDENT_2 . Builder ( ) . METHOD_1 ( STRING_5 ) . name ( STRING_6 ) . METHOD_3 ( IDENT_1 . METHOD_4 ( ) ) . build ( ) ; org . apache . nifi . authorization . IDENT_5 IDENT_6 = new org . apache . nifi . authorization . IDENT_5 . Builder ( ) . METHOD_1 ( STRING_3 ) . resource ( STRING_7 ) . action ( IDENT_7 . IDENT_8 ) . METHOD_3 ( IDENT_0 . METHOD_4 ( ) ) . METHOD_3 ( IDENT_1 . METHOD_4 ( ) ) . build ( ) ; org . apache . nifi . authorization . IDENT_5 IDENT_9 = new org . apache . nifi . authorization . IDENT_5 . Builder ( ) . METHOD_1 ( STRING_8 ) . resource ( STRING_9 ) . action ( IDENT_7 . IDENT_8 ) . METHOD_5 ( IDENT_3 . METHOD_4 ( ) ) . METHOD_5 ( IDENT_4 . METHOD_4 ( ) ) . METHOD_3 ( IDENT_0 . METHOD_4 ( ) ) . METHOD_3 ( IDENT_1 . METHOD_4 ( ) ) . build ( ) ; java . util . Set < org . apache . nifi . authorization . IDENT_2 > IDENT_10 = new java . util . METHOD_6 ( ) ; IDENT_10 . add ( IDENT_3 ) ; IDENT_10 . add ( IDENT_4 ) ; java . util . Set < org . apache . nifi . authorization . User > IDENT_11 = new java . util . METHOD_6 ( ) ; IDENT_11 . add ( IDENT_0 ) ; IDENT_11 . add ( IDENT_1 ) ; java . util . Set < org . apache . nifi . authorization . IDENT_5 > IDENT_12 = new java . util . METHOD_6 ( ) ; IDENT_12 . add ( IDENT_6 ) ; IDENT_12 . add ( IDENT_9 ) ; org . apache . nifi . authorization . IDENT_13 IDENT_14 = org . mockito . Mockito . mock ( org . apache . nifi . authorization . IDENT_13 . class ) ; when ( IDENT_14 . METHOD_7 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_14 . METHOD_8 ( ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_14 . METHOD_9 ( ) ) . thenReturn ( IDENT_12 ) ; java . util . Set < org . apache . nifi . authorization . IDENT_2 > IDENT_15 = new java . util . METHOD_6 ( ) ; IDENT_15 . add ( IDENT_4 ) ; IDENT_15 . add ( IDENT_3 ) ; java . util . Set < org . apache . nifi . authorization . User > IDENT_16 = new java . util . METHOD_6 ( ) ; IDENT_16 . add ( IDENT_1 ) ; IDENT_16 . add ( IDENT_0 ) ; java . util . Set < org . apache . nifi . authorization . IDENT_5 > IDENT_17 = new java . util . METHOD_6 ( ) ; IDENT_17 . add ( IDENT_9 ) ; IDENT_17 . add ( IDENT_6 ) ; org . apache . nifi . authorization . IDENT_13 IDENT_18 = org . mockito . Mockito . mock ( org . apache . nifi . authorization . IDENT_13 . class ) ; when ( IDENT_18 . METHOD_7 ( ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_18 . METHOD_8 ( ) ) . thenReturn ( IDENT_16 ) ; when ( IDENT_18 . METHOD_9 ( ) ) . thenReturn ( IDENT_17 ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { final java . io . StringWriter out = new java . io . StringWriter ( ) ; try { final javax . xml . IDENT_19 . IDENT_20 IDENT_21 = org . apache . nifi . IDENT_22 . authorization . IDENT_23 . IDENT_24 . METHOD_11 ( ) ; final org . w3c . dom . Document document = IDENT_21 . METHOD_12 ( ) ; final org . w3c . dom . Element IDENT_25 = document . METHOD_13 ( STRING_10 ) ; document . METHOD_14 ( IDENT_25 ) ; final org . w3c . dom . Element IDENT_26 = document . METHOD_13 ( org . apache . nifi . IDENT_22 . authorization . IDENT_23 . IDENT_27 ) ; IDENT_25 . METHOD_14 ( IDENT_26 ) ; if ( ( IDENT_28 ) instanceof org . apache . nifi . authorization . IDENT_29 ) { IDENT_26 . METHOD_14 ( document . METHOD_15 ( ( ( org . apache . nifi . authorization . IDENT_29 ) ( IDENT_28 ) ) . METHOD_10 ( ) ) ) ; } final javax . xml . transform . IDENT_30 IDENT_31 = javax . xml . transform . IDENT_32 . newInstance ( ) . METHOD_16 ( ) ; IDENT_31 . transform ( new javax . xml . transform . dom . METHOD_17 ( document ) , new javax . xml . transform . stream . METHOD_18 ( out ) ) ; } catch ( javax . xml . IDENT_19 . IDENT_33 | javax . xml . transform . IDENT_34 e ) { throw new org . apache . nifi . authorization . exception . METHOD_19 ( STRING_11 , e ) ; } return out . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_14 . METHOD_10 ( ) , IDENT_18 . METHOD_10 ( ) )