@Test
    public final void test() throws InterruptedException {
        final ThreadRobustList<String> container = new ThreadRobustList<>();
        final Receiver<Boolean> lock = new Receiver<>();
        final Reader r = new Reader(container, lock);
        final Writer w = new Writer(container, lock);
        final Thread wt = new Thread(w);
        wt.start();
        r.run();
        wt.join();
    }
Check we keep the consistent view when reading and writing in parallell.

@author Steinar Knutsen
vespajlib/src/test/java/com/yahoo/concurrent/ThreadRobustListTestCase.java