@Test
public void versionNotFound() {

  SchemaVersion schemaVersion1 = new SchemaVersion(null, 1, false);
  SchemaVersion schemaVersion2 = new SchemaVersion(null, 2, false);
  Optional<SchemaVersion> result = SchemaVersion.version(Arrays.asList(schemaVersion1, schemaVersion2), 3);
  assertThat(result.isPresent(), is(false));
}