public NODE set(int index, NODE element) {
        throw e;
    }
@Test
    void require_that_set_throws_exception() {
        assertThrows(NodeVector.ReadOnlyException.class, () -> new TestNodeVector("foo").set(0, null));
    }