@Test(expected=IllegalStateException.class)
public void testForceIsNotAllowedWhenUnobserved() {

    MemoizationList<Integer> list = new LiveArrayList<>(0, 1, 2, 3, 4, 5, 6).memoize();
    list.force(2, 4);
}