@Test public void threadLocal() {

    AutoreleaseBatcher.forThread(1);
    ID idNSObject = Foundation.cfRetain(autoreleasedObject());
    assertRetainCount(2, idNSObject);
    
    AutoreleaseBatcher.forThread(1).operate();
    assertRetainCount(1, idNSObject);
}