@Test
public void tryToParseIdentifierStringWithIllegalChar() {

    final String invalidString = "org/eclipse/ditto" + ":" + NAME + ":" + VERSION;
    assertThatExceptionOfType(DefinitionIdentifierInvalidException.class)
            .isThrownBy(() -> ImmutableDefinitionIdentifier.ofParsed(invalidString))
            .withMessage("Definition identifier <%s> is invalid!", invalidString)
            .withNoCause();
}