Source of unique string identifiers.
Inject an IdGenerator wherever ids are minted so production code can use random, collision-resistant ids (randomId) while tests use predictable, sequential ids (SequentialId).
IdGenerator
Produces the next identifier.
A new identifier string.
Source of unique string identifiers.
Remarks
Inject an
IdGeneratorwherever ids are minted so production code can use random, collision-resistant ids (randomId) while tests use predictable, sequential ids (SequentialId).