@Test
public void testMultipleMediationsCacheClassLoader() throws Exception {

    DelayedEcho raw = new DelayedEcho();
    
    AsyncService service = new AsyncService(null, es, ses,
                                            serviceTracker);
    
    DelayedEcho mediated = service.mediate(raw, DelayedEcho.class);
    
    assertSame(mediated.getClass(), service.mediate(raw, DelayedEcho.class).getClass());
}