METHOD_0 ( ) { try ( org . apache . IDENT_0 . test . IDENT_1 server = new org . apache . IDENT_0 . test . METHOD_1 ( ) ) { server . start ( ) ; com . IDENT_2 . IDENT_3 . config . IDENT_4 config = new com . IDENT_2 . IDENT_3 . config . METHOD_2 ( ) ; com . google . common . collect . IDENT_5 < java . lang . String , java . lang . String > headers = com . google . common . collect . IDENT_5 . create ( ) ; headers . put ( STRING_0 , STRING_1 ) ; com . IDENT_2 . IDENT_3 . config . METHOD_2 . IDENT_6 IDENT_7 = new com . IDENT_2 . IDENT_3 . config . METHOD_2 . METHOD_3 ( io . netty . handler . codec . http . IDENT_8 . IDENT_9 , STRING_2 , io . netty . handler . codec . http . IDENT_10 . IDENT_11 , headers ) ; com . IDENT_2 . IDENT_3 . config . METHOD_2 . METHOD_3 IDENT_12 = new com . IDENT_2 . IDENT_3 . config . METHOD_2 . METHOD_3 ( null , null , null , null ) ; config . METHOD_4 ( IDENT_7 ) ; config . METHOD_5 ( IDENT_12 ) ; com . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_14 IDENT_15 = new com . IDENT_2 . IDENT_3 . IDENT_13 . METHOD_6 ( ) ; org . apache . IDENT_0 . IDENT_16 IDENT_17 = new org . apache . IDENT_0 . IDENT_18 . METHOD_7 ( 1 ) ; try ( org . apache . IDENT_0 . framework . IDENT_19 client = org . apache . IDENT_0 . framework . IDENT_20 . METHOD_8 ( server . METHOD_9 ( ) , IDENT_17 ) ) { client . start ( ) ; java . lang . String path = STRING_3 ; com . IDENT_2 . IDENT_3 . storage . IDENT_21 provider = new com . IDENT_2 . IDENT_3 . storage . METHOD_10 ( IDENT_15 , client ) ; provider . write ( path , config ) ; byte [ ] data = client . METHOD_11 ( ) . METHOD_12 ( path ) ; com . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_22 IDENT_23 = new com . IDENT_2 . IDENT_3 . IDENT_13 . METHOD_13 ( ) ; com . IDENT_2 . IDENT_3 . config . METHOD_2 read = new com . IDENT_2 . IDENT_3 . config . METHOD_2 ( ) ; IDENT_23 . METHOD_14 ( read , data ) ; "<AssertPlaceHolder>" ; } } } METHOD_14 ( com . IDENT_2 . IDENT_3 . config . IDENT_24 , byte [ ] ) { com . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_25 . IDENT_26 message = new com . IDENT_2 . IDENT_3 . IDENT_13 . IDENT_25 . METHOD_15 ( ) ; METHOD_16 ( message , data ) ; try { for ( java . nio . ByteBuffer address : message . METHOD_17 ( ) ) { config . METHOD_18 ( java . net . IDENT_27 . METHOD_19 ( getBytes ( address ) ) ) ; } for ( java . nio . ByteBuffer address : message . METHOD_20 ( ) ) { config . METHOD_21 ( java . net . IDENT_27 . METHOD_19 ( getBytes ( address ) ) ) ; } } catch ( java . net . IDENT_28 e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertEquals ( config , read )