void () { UniqueNameGenerator generator = new UniqueNameGenerator(); assertEquals("qwerty", generator.generateUniqueName("qwerty", "", "", " [", "]")); assertEquals("qwerty [2]", generator.generateUniqueName("qwerty", "", "", " [", "]")); assertEquals("qwerty [3]", generator.generateUniqueName("qwerty", "", "", " [", "]")); }