IdBatchAndWaitTime newIdBaseLocal(int batchSize) {
        return newIdBaseLocal(Clock.currentTimeMillis(), getNodeId(), batchSize);
    }
@Test
    public void when_customBits_then_used() {
        int bitsSequence = 10;
        int bitsNodeId = 11;
        initialize(new FlakeIdGeneratorConfig()
                .setBitsSequence(bitsSequence)
                .setBitsNodeId(bitsNodeId)
                .setEpochStart(0));
        Iterator<Long> result = gen.newIdBaseLocal(1, 1234, 2).idBatch.iterator();
        long expected = (1L << bitsSequence + bitsNodeId) + 1234;
        assertEquals(expected, result.next().longValue());
        expected += 1L << bitsNodeId;
        assertEquals(expected, result.next().longValue());
    }