201202203204205206207208209
executor.execute(new Runnable() { public void run() { data[0] = true; } }); executor.join(); assertTrue(data[0]); } }