public void test_prefix() { UniqueIdSupplier test = new UniqueIdSupplier("Prefixing"); assertEquals(UniqueId.parse("Prefixing~A-1"), test.getWithValuePrefix("A-")); assertEquals(UniqueId.parse("Prefixing~A-2"), test.getWithValuePrefix("A-")); assertEquals(UniqueId.parse("Prefixing~B-3"), test.getWithValuePrefix("B-")); }