public void clear() {
        throw e;
    }
@Test
    void require_that_clear_throws_exception() {
        assertThrows(NodeVector.ReadOnlyException.class, () -> new TestNodeVector("foo").clear());
    }