@Test
    public void throwsWhenInvalidPositionGiven() {
        Schema subschema = Schema.builder().type("string").build();
        Schema schema = Schema.builder().anyOf(Collections.singletonList(subschema)).build();

        Assertions.assertThrows(SmithyJsonSchemaException.class, () -> {
            schema.selectSchema("anyOf", "foo");
        });
    }
This is a basic integration test that makes sure each disable setting
can be called and doesn't break the builder.
smithy-jsonschema/src/test/java/software/amazon/smithy/jsonschema/SchemaTest.java