  @Test
  public void itDoesntAllowNumericJsonValues() {

    Throwable t = catchThrowable(() -> WireSafeEnum.of(NumericJsonEnum.ABC));
    assertThat(t)
        .isInstanceOf(IllegalStateException.class)
        .hasMessageContaining("NumericJsonEnum");
  }