@Test public void testProcessShouldReturnProperly() throws ApplicationException { given(httpRequestTransformer.transformRequest(bmRequest)).willReturn(wilmaRequest); underTest.process(bmRequest); verify(wilmaHttpRequestHandler).processRequest(wilmaRequest); verify(browserMobRequestUpdater).updateRequest(bmRequest, wilmaRequest); }
@Override public void process(final BrowserMobHttpRequest request) { try { WilmaHttpRequest wilmaHttpRequest = httpRequestTransformer.transformRequest(request); wilmaHttpRequestProcessor.processRequest(wilmaHttpRequest); browserMobRequestUpdater.updateRequest(request, wilmaHttpRequest); } catch (ApplicationException e) { logger.error(e.getMessage(), e); } }
BrowserMobRequestInterceptor implements RequestInterceptor { @Override public void process(final BrowserMobHttpRequest request) { try { WilmaHttpRequest wilmaHttpRequest = httpRequestTransformer.transformRequest(request); wilmaHttpRequestProcessor.processRequest(wilmaHttpRequest); browserMobRequestUpdater.updateRequest(request, wilmaHttpRequest); } catch (ApplicationException e) { logger.error(e.getMessage(), e); } } }
BrowserMobRequestInterceptor implements RequestInterceptor { @Override public void process(final BrowserMobHttpRequest request) { try { WilmaHttpRequest wilmaHttpRequest = httpRequestTransformer.transformRequest(request); wilmaHttpRequestProcessor.processRequest(wilmaHttpRequest); browserMobRequestUpdater.updateRequest(request, wilmaHttpRequest); } catch (ApplicationException e) { logger.error(e.getMessage(), e); } }  }
BrowserMobRequestInterceptor implements RequestInterceptor { @Override public void process(final BrowserMobHttpRequest request) { try { WilmaHttpRequest wilmaHttpRequest = httpRequestTransformer.transformRequest(request); wilmaHttpRequestProcessor.processRequest(wilmaHttpRequest); browserMobRequestUpdater.updateRequest(request, wilmaHttpRequest); } catch (ApplicationException e) { logger.error(e.getMessage(), e); } }  @Override void process(final BrowserMobHttpRequest request); }
BrowserMobRequestInterceptor implements RequestInterceptor { @Override public void process(final BrowserMobHttpRequest request) { try { WilmaHttpRequest wilmaHttpRequest = httpRequestTransformer.transformRequest(request); wilmaHttpRequestProcessor.processRequest(wilmaHttpRequest); browserMobRequestUpdater.updateRequest(request, wilmaHttpRequest); } catch (ApplicationException e) { logger.error(e.getMessage(), e); } }  @Override void process(final BrowserMobHttpRequest request);  }