AbstractClientRequest extends AbstractRequest { @Override public ApplicationContext getApplicationContext() { return applicationContext; } AbstractClientRequest(ApplicationContext applicationContext); @Override void dispatch(String path); @Override void include(String path); @Override ApplicationContext getApplicationContext(); Map<String, Object> getApplicationScope();  }
@Test public void testGetApplicationContext() { replay(request, applicationContext); assertEquals(applicationContext, request.getApplicationContext()); verify(request, applicationContext); }