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