@Override
    public RetrievableStateHandle<T> getAndLock(String pathInZooKeeper) throws Exception {
        return get(pathInZooKeeper, true);
    }
@Test
    void testGetNonExistingPath() {
        final TestingLongStateHandleHelper stateHandleProvider = new TestingLongStateHandleHelper();

        ZooKeeperStateHandleStore<TestingLongStateHandleHelper.LongStateHandle> store =
                new ZooKeeperStateHandleStore<>(getZooKeeperClient(), stateHandleProvider);

        assertThatThrownBy(() -> store.getAndLock("/testGetNonExistingPath"))
                .isInstanceOf(Exception.class);
    }