public String generateUniqueProjectKey(String projectName, String... extraProjectKeyItems) {
    String sqProjectKey = generateCompleteProjectKey(projectName, extraProjectKeyItems);
    sqProjectKey = truncateProjectKeyIfNecessary(sqProjectKey);
    return sanitizeProjectKey(sqProjectKey);
  }
@Test
  public void generateUniqueProjectKey_shortProjectName_shouldAppendUuid() {
    String fullProjectName = RandomStringUtils.randomAlphanumeric(10);

    assertThat(projectKeyGenerator.generateUniqueProjectKey(fullProjectName))
      .isEqualTo(generateExpectedKeyName(fullProjectName));
  }