METHOD_0 ( ) { org . IDENT_0 . plugin . IDENT_1 . internal . IDENT_2 config = new org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 ( ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . IDENT_3 IDENT_4 ; { org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . IDENT_3 IDENT_5 = new org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( "name" ) ; IDENT_5 . METHOD_4 ( STRING_0 ) ; IDENT_5 . METHOD_5 ( STRING_1 ) ; final org . IDENT_0 . entities . IDENT_6 name = new org . IDENT_0 . entities . METHOD_6 ( ) ; name . setName ( STRING_2 , "name" ) ; name . setName ( STRING_3 0 , STRING_3 1 ) ; IDENT_5 . setName ( name ) ; config . METHOD_7 ( IDENT_5 ) ; IDENT_4 = IDENT_5 ; } final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 IDENT_7 ; { org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 IDENT_5 = new org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( STRING_4 ) ; IDENT_5 . METHOD_4 ( STRING_5 ) ; IDENT_5 . METHOD_5 ( STRING_4 ) ; final org . IDENT_0 . entities . METHOD_6 name = new org . IDENT_0 . entities . METHOD_6 ( ) ; name . setName ( STRING_2 , STRING_6 ) ; name . setName ( STRING_3 0 , STRING_7 ) ; IDENT_5 . setName ( name ) ; config . METHOD_7 ( IDENT_5 ) ; IDENT_7 = IDENT_5 ; } final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . IDENT_8 IDENT_9 = config . METHOD_8 ( STRING_8 ) ; IDENT_9 . METHOD_7 ( IDENT_4 ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . IDENT_8 IDENT_10 = config . METHOD_8 ( STRING_3 ) ; IDENT_10 . METHOD_7 ( IDENT_4 ) ; IDENT_10 . METHOD_7 ( IDENT_7 ) ; com . google . gson . IDENT_11 builder = new com . google . gson . METHOD_9 ( ) ; final com . google . gson . IDENT_12 gson = builder . METHOD_10 ( ) . create ( ) ; final java . lang . String json = gson . METHOD_11 ( config ) ; System . out . println ( json ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 IDENT_13 = gson . METHOD_12 ( json , org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . class ) ; javax . xml . IDENT_14 . IDENT_15 context = javax . xml . IDENT_14 . IDENT_15 . newInstance ( org . IDENT_0 . plugin . IDENT_1 . internal . IDENT_16 . IDENT_17 . class ) ; final javax . xml . IDENT_14 . IDENT_18 IDENT_19 = context . METHOD_13 ( ) ; IDENT_19 . setProperty ( IDENT_18 . IDENT_20 , true ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; IDENT_19 . METHOD_14 ( new org . IDENT_0 . plugin . IDENT_1 . internal . IDENT_16 . METHOD_15 ( config ) , out ) ; final javax . xml . IDENT_14 . IDENT_21 IDENT_22 = context . METHOD_16 ( ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . IDENT_16 . METHOD_15 IDENT_23 = ( ( org . IDENT_0 . plugin . IDENT_1 . internal . IDENT_16 . METHOD_15 ) ( IDENT_22 . METHOD_17 ( new java . io . ByteArrayInputStream ( out . toByteArray ( ) ) ) ) ) ; final org . IDENT_0 . entities . configuration . IDENT_24 IDENT_25 = org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_18 ( IDENT_23 . config ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 test = org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . read ( IDENT_25 , new org . IDENT_0 . framework . internal . METHOD_19 ( new org . IDENT_0 . components . IDENT_26 . server . METHOD_20 ( ) ) ) ; final java . lang . String IDENT_27 = gson . METHOD_11 ( test ) ; "<AssertPlaceHolder>" ; } read ( org . IDENT_0 . entities . configuration . IDENT_24 , org . IDENT_0 . framework . IDENT_28 ) { org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 result = new org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 ( ) ; java . util . Map < java . lang . String , org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 > IDENT_29 = new java . util . HashMap ( ) ; for ( org . IDENT_0 . framework . Configuration IDENT_5 : IDENT_30 . METHOD_21 ( STRING_9 ) ) { java . lang . String key = IDENT_5 . METHOD_22 ( STRING_10 ) . getValue ( ) ; java . lang . String type = IDENT_5 . METHOD_22 ( STRING_11 ) . getValue ( "value" 0 ) ; java . lang . String IDENT_31 = IDENT_5 . METHOD_22 ( STRING_12 ) . getValue ( "" ) ; org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 column = new org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 ( ) ; column . METHOD_3 ( key ) ; column . METHOD_5 ( type ) ; column . METHOD_4 ( IDENT_31 ) ; final org . IDENT_0 . framework . Configuration IDENT_32 = IDENT_5 . METHOD_22 ( "name" ) ; org . IDENT_0 . entities . METHOD_6 name = org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_23 ( IDENT_32 ) ; column . setName ( name ) ; result . METHOD_7 ( column ) ; IDENT_29 . put ( key , column ) ; } for ( org . IDENT_0 . framework . Configuration IDENT_33 : IDENT_30 . METHOD_22 ( "value" 1 ) . METHOD_21 ( ) ) { java . lang . String key = IDENT_33 . METHOD_22 ( STRING_10 ) . getValue ( ) ; final java . lang . String IDENT_34 = IDENT_33 . METHOD_22 ( STRING_13 ) . getValue ( ) ; final org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . IDENT_8 view = result . METHOD_8 ( key ) ; view . METHOD_24 ( IDENT_34 ) ; final org . IDENT_0 . framework . Configuration IDENT_32 = IDENT_33 . METHOD_22 ( "name" ) ; org . IDENT_0 . entities . METHOD_6 name = org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_23 ( IDENT_32 ) ; view . setName ( name ) ; for ( org . IDENT_0 . framework . Configuration item : IDENT_33 . METHOD_22 ( "value" ) . METHOD_21 ( ) ) { java . lang . String IDENT_35 = item . getValue ( ) ; org . IDENT_0 . plugin . IDENT_1 . internal . METHOD_1 . METHOD_2 column = IDENT_29 . get ( IDENT_35 ) ; if ( column == null ) { throw new org . IDENT_0 . framework . METHOD_25 ( ( ( STRING_14 + IDENT_35 ) + STRING_15 ) ) ; } view . METHOD_7 ( column ) ; } } return result ; }
org . junit . Assert . assertEquals ( json , IDENT_27 )