IdBatchAndWaitTime newIdBaseLocal(int batchSize) {
        return newIdBaseLocal(Clock.currentTimeMillis(), getNodeId(), batchSize);
    }
@Test
    public void when_epochStart_then_used() {
        int epochStart = 456;
        int timeSinceEpochStart = 1;
        initialize(new FlakeIdGeneratorConfig().setEpochStart(epochStart));
        long id = gen.newIdBaseLocal(epochStart + timeSinceEpochStart, 1234, 10).idBatch.base();
        assertEquals((timeSinceEpochStart << DEFAULT_BITS_SEQUENCE + DEFAULT_BITS_NODE_ID) + 1234, id);
    }