public static SqlToConnectTypeConverter sqlToConnectConverter() {
    return SQL_TO_CONNECT_CONVERTER;
  }
@Test
  public void shouldConvertOneOfUnionTypeFromSqlToConnect() {
    // Given:
    SqlStruct sqlStruct = SqlStruct.builder()
        .field("io.confluent.connect.json.OneOf.field.0", SqlPrimitiveType.of(SqlBaseType.STRING))
        .field("io.confluent.connect.json.OneOf.field.1", SqlPrimitiveType.of(SqlBaseType.BOOLEAN))
        .field("io.confluent.connect.json.OneOf.field.2", SqlPrimitiveType.of(SqlBaseType.INTEGER))
        .build();

    // When:
    Schema connectSchema = sqlToConnectConverter().toConnectSchema(sqlStruct);

    // Then:
    assertThat(connectSchema.type(), is(Schema.Type.STRUCT));
    assertEquals(JSON_TYPE_ONE_OF, connectSchema.schema().name());
  }