@Test
public void disposeRace() {

    for (int i = 0; i < TestHelper.RACE_DEFAULT_LOOPS; i++) {
        final ArrayCompositeSubscription ac = new ArrayCompositeSubscription(1000);
        Runnable r = new Runnable() {
            @Override
            public void run() {
                ac.dispose();
            }
        };
        TestHelper.race(r, r);
    }
}