@Test public void throwsIfCreatingConfigWithUnrecognizedSchemaVersions() { assertThatThrownBy(() -> ImmutableInternalSchemaConfig.builder() .targetTransactionsSchemaVersion(Integer.MIN_VALUE) .build()) .isInstanceOf(IllegalStateException.class) .hasMessageContaining("is not a recognised transactions schema version"); }
public abstract Optional<Integer> targetTransactionsSchemaVersion();
InternalSchemaConfig { public abstract Optional<Integer> targetTransactionsSchemaVersion(); }
InternalSchemaConfig { public abstract Optional<Integer> targetTransactionsSchemaVersion();  }
InternalSchemaConfig { public abstract Optional<Integer> targetTransactionsSchemaVersion();  abstract Optional<Integer> targetTransactionsSchemaVersion(); @Value.Check void check(); }
InternalSchemaConfig { public abstract Optional<Integer> targetTransactionsSchemaVersion();  abstract Optional<Integer> targetTransactionsSchemaVersion(); @Value.Check void check();  }