@Test
void verifyEmitterVariableNameGen() {

    final CloudEventsResourceGenerator generator = new CloudEventsResourceGenerator(Collections.emptyList());
    final Map<String, String> tableTest = new HashMap<>();
    tableTest.put("http://github.com/me/myrepo", EMITTER_PREFIX + "httpgithubcommemyrepo");
    tableTest.put("$%@1234whatever123", EMITTER_PREFIX + "1234whatever123");
    tableTest.put("123.12.34.56", EMITTER_PREFIX + "123123456");
    tableTest.put("this_is_a_test", EMITTER_PREFIX + "thisisatest");
    tableTest.forEach((key, value) -> assertThat(generator.sanitizeEmitterName(key)).isEqualTo(value));
}