METHOD_0 ( ) { org . hibernate . engine . spi . IDENT_0 session = org . mockito . Mockito . mock ( org . hibernate . engine . spi . IDENT_0 . class ) ; org . mockito . Mockito . when ( session . METHOD_1 ( ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( session . METHOD_2 ( ) ) . thenReturn ( true ) ; org . hibernate . collection . internal . IDENT_1 IDENT_2 = new org . hibernate . collection . internal . METHOD_3 ( session , new java . util . ArrayList < java . lang . String > ( ) ) ; java . lang . String IDENT_3 = STRING_0 ; org . kie . server . api . IDENT_4 . IDENT_5 IDENT_6 = org . kie . server . api . IDENT_4 . IDENT_7 . METHOD_4 ( IDENT_8 . IDENT_9 , getClass ( ) . METHOD_5 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . kie . server . IDENT_10 . Configuration ) { java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_11 = configuration . METHOD_7 ( ) ; java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_12 = configuration . METHOD_8 ( ) ; java . util . Map < java . lang . String , java . util . List < org . kie . server . IDENT_10 . IDENT_13 > > IDENT_14 = configuration . METHOD_9 ( ) ; org . json . IDENT_15 IDENT_16 = new org . json . METHOD_10 ( ) ; org . json . METHOD_10 IDENT_17 = new org . json . METHOD_10 ( ) ; org . json . METHOD_10 IDENT_18 = new org . json . METHOD_10 ( ) ; org . json . JSONObject config = new org . json . JSONObject ( ) ; for ( java . util . Map . Entry < java . lang . String , java . util . List < java . lang . String > > entry : IDENT_11 . entrySet ( ) ) { org . json . METHOD_10 array = new org . json . METHOD_10 ( ) ; entry . getValue ( ) . METHOD_11 ( ( url ) -> array . put ( url ) ) ; org . json . JSONObject container = new org . json . JSONObject ( ) ; container . put ( entry . getKey ( ) , array ) ; IDENT_17 . put ( container ) ; } for ( java . util . Map . Entry < java . lang . String , java . util . List < java . lang . String > > entry : IDENT_12 . entrySet ( ) ) { org . json . METHOD_10 array = new org . json . METHOD_10 ( ) ; entry . getValue ( ) . METHOD_11 ( ( url ) -> array . put ( url ) ) ; org . json . JSONObject server = new org . json . JSONObject ( ) ; server . put ( entry . getKey ( ) , array ) ; IDENT_16 . put ( server ) ; } java . util . Set < java . lang . String > IDENT_19 = new java . util . HashSet ( ) ; for ( java . util . Map . Entry < java . lang . String , java . util . List < org . kie . server . IDENT_10 . IDENT_13 > > entry : IDENT_14 . entrySet ( ) ) { if ( IDENT_19 . contains ( entry . getKey ( ) ) ) { continue ; } entry . getValue ( ) . METHOD_11 ( ( IDENT_20 ) -> { org . json . JSONObject IDENT_21 = new org . json . JSONObject ( ) ; IDENT_19 . add ( IDENT_20 . METHOD_12 ( ) ) ; IDENT_19 . add ( IDENT_20 . METHOD_13 ( ) ) ; try { IDENT_21 . put ( STRING_1 , IDENT_20 . METHOD_12 ( ) ) ; IDENT_21 . put ( STRING_2 , IDENT_20 . METHOD_13 ( ) ) ; IDENT_21 . put ( STRING_3 , IDENT_20 . METHOD_14 ( ) ) ; IDENT_18 . put ( IDENT_21 ) ; } catch ( e ) { org . kie . server . IDENT_10 . repository . e . printStackTrace ( ) ; } } ) ; } config . put ( STRING_4 , IDENT_17 ) ; config . put ( STRING_5 , IDENT_16 ) ; config . put ( STRING_6 , IDENT_18 ) ; return config . toString ( 2 ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_6 . METHOD_6 ( IDENT_2 ) )