@Test
public void createThingWithInvalidCharactersInId() {

    final String invalidCharacter = "/";
    assertThatExceptionOfType(ThingIdInvalidException.class).isThrownBy(() ->
            ImmutableThing.of(
                    "ns:thingIdWithAnd" + invalidCharacter,
                    ACL,
                    ATTRIBUTES,
                    FEATURES,
                    LIFECYCLE,
                    REVISION,
                    MODIFIED,
                    CREATED,
                    METADATA)
    );
}