@Test public void isCollection() { assertThat(Schema.INTEGER.isCollection(), equalTo(false)); assertThat(Schema.list(Schema.INTEGER).isCollection(), equalTo(true)); assertThat(Schema.set(Schema.INTEGER).isCollection(), equalTo(true)); assertThat(Schema.set(Schema.list(Schema.INTEGER)).isCollection(), equalTo(true)); } }