interceptor = new DownloadInterceptor(response, info, result);
}
@Test
public void whenResultIsADownloadShouldUseIt() throws Exception {
Download download = mock(Download.class);
when(info.getResult()).thenReturn(download);
interceptor.intercept(stack, resourceMethod, null);