@Test
public void invalidNamespaceThrowsThingInvalidException() {

    assertThatExceptionOfType(ThingIdInvalidException.class)
            .isThrownBy(() -> ThingId.of(".invalidNamespace", "validName"));
    assertThatExceptionOfType(ThingIdInvalidException.class)
            .isThrownBy(() -> ThingId.of(".invalidNamespace:validName"));
}