final AtmosphereResourceImpl ar = new AtmosphereResourceImpl(new AtmosphereFramework().getAtmosphereConfig(),
broadcaster,
mock(AtmosphereRequest.class),
AtmosphereResponse.newInstance(),
mock(BlockingIOCometSupport.class),
new AR());
final String message = "foo";
Runnable broadcastRunnable = new Runnable() {
@Override
public void run() {