METHOD_0 ( ) { com . facebook . buck . IDENT_0 . IDENT_1 . IDENT_2 request = new com . facebook . buck . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; request . METHOD_2 ( IDENT_3 . IDENT_4 ) ; com . facebook . buck . IDENT_0 . IDENT_1 . IDENT_5 IDENT_6 = new com . facebook . buck . IDENT_0 . IDENT_1 . METHOD_3 ( ) ; IDENT_6 . METHOD_2 ( IDENT_3 . IDENT_7 ) ; org . easymock . IDENT_8 < IDENT_9 . IDENT_10 . Builder > IDENT_11 = org . easymock . EasyMock . METHOD_4 ( ) ; org . apache . IDENT_1 . IDENT_12 serializer = new org . apache . IDENT_1 . METHOD_5 ( config . METHOD_6 ( ) . METHOD_7 ( ) ) ; byte [ ] IDENT_13 = serializer . serialize ( IDENT_6 ) ; com . facebook . buck . IDENT_14 . IDENT_15 IDENT_16 = new com . facebook . buck . IDENT_14 . METHOD_8 ( ) { @ com . facebook . buck . IDENT_14 . Override public int METHOD_9 ( ) { return 200 ; } @ com . facebook . buck . IDENT_14 . Override public java . lang . String METHOD_10 ( ) { return STRING_0 ; } @ com . facebook . buck . IDENT_14 . Override public long METHOD_11 ( ) { return IDENT_13 . length ; } @ com . facebook . buck . IDENT_14 . Override public java . io . InputStream METHOD_12 ( ) { return new java . io . ByteArrayInputStream ( IDENT_13 ) ; } @ com . facebook . buck . IDENT_14 . Override public java . lang . String METHOD_13 ( ) { return STRING_1 ; } @ com . facebook . buck . IDENT_14 . Override public void close ( ) { } } ; org . easymock . EasyMock . expect ( IDENT_17 . METHOD_14 ( org . easymock . EasyMock . eq ( STRING_2 ) , org . easymock . EasyMock . METHOD_15 ( IDENT_11 ) ) ) . andReturn ( IDENT_16 ) . times ( 1 ) ; org . easymock . EasyMock . replay ( IDENT_17 ) ; com . facebook . buck . IDENT_0 . IDENT_1 . METHOD_3 IDENT_18 = new com . facebook . buck . IDENT_0 . IDENT_1 . METHOD_3 ( ) ; service . METHOD_14 ( request , IDENT_18 ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( IDENT_17 ) ; } METHOD_14 ( IDENT_19 extends org . apache . IDENT_1 . IDENT_20 , IDENT_21 extends org . apache . IDENT_1 . IDENT_20 ) { METHOD_16 ( com . facebook . buck . IDENT_14 . IDENT_22 . METHOD_17 ( IDENT_23 ) , com . facebook . buck . IDENT_14 . IDENT_24 . METHOD_18 ( IDENT_25 ) ) ; }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_18 )