@Test
public void testBasicExcludeCache() throws ExecutionException, InterruptedException, ServletException {
BroadcasterCache cache = new UUIDBroadcasterCache();
AtmosphereResource r = config.resourcesFactory().create(broadcaster.getBroadcasterConfig().getAtmosphereConfig(), "1234567");
cache.excludeFromCache(broadcaster.getID(), r);
broadcaster.getBroadcasterConfig().setBroadcasterCache(cache);
broadcaster.removeAtmosphereResource(r);
broadcaster.broadcast("foo").get();