@Override
    public NodeId get() {
        return new SimpleNodeId(readOrGenerate(filename));
    }
@Test
    void testEmptyFile() throws IOException {

        final Path nodeIdPath = tempDir.resolve(NODE_ID_FILENAME);

        // create the file, write empty string
        FileUtils.writeStringToFile(nodeIdPath.toFile(), "", StandardCharsets.UTF_8);

        final String filename = nodeIdPath.toAbsolutePath().toString();
        final FilePersistedNodeIdProvider provider = new FilePersistedNodeIdProvider(filename);

        // first let the logic generate and persist a new ID
        final NodeId nodeId = provider.get();
        final String generatedNodeId = nodeId.getNodeId();
        Assertions.assertThat(generatedNodeId).isNotBlank();
    }