METHOD_0 ( ) { org . springframework . http . IDENT_0 request = mock ( org . springframework . http . IDENT_0 . class ) ; org . springframework . http . client . IDENT_1 response = mock ( org . springframework . http . client . IDENT_1 . class ) ; org . springframework . http . client . IDENT_2 IDENT_3 = mock ( org . springframework . http . client . IDENT_2 . class ) ; byte [ ] IDENT_4 = STRING_0 . getBytes ( ) ; when ( IDENT_5 . service ( request , IDENT_4 , IDENT_3 ) ) . thenReturn ( response ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . springframework . http . IDENT_0 , byte [ ] , org . springframework . http . client . IDENT_2 ) { return server . service ( request , IDENT_4 , IDENT_3 ) ; }
org . junit . Assert . assertThat ( interceptor . METHOD_1 ( request , IDENT_4 , IDENT_3 ) , org . hamcrest . CoreMatchers . is ( response ) )