@JsonCreator
    public static ModelId of(String id) {
        Preconditions.checkArgument(StringUtils.isNotBlank(id), "ID must not be blank");
        return new AutoValue_ModelId(id);
    }
@Test
    public void ensureIdIsNotBlank() {
        assertThatThrownBy(() -> ModelId.of(null))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("ID must not be blank");
        assertThatThrownBy(() -> ModelId.of(""))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("ID must not be blank");
        assertThatThrownBy(() -> ModelId.of("    \n\r\t"))
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessage("ID must not be blank");
    }