Metadata resolveMetadata(List<MappingField> resolvedFields, Map<String, ?> options) {
        return findMetadataResolver(options).resolveMetadata(resolvedFields, options);
    }
@Test
    public void test_resolveMetadata() {
        // given
        List<MappingField> resolvedFields = singletonList(new MappingField("field", QueryDataType.VARCHAR));
        Map<String, String> options = Map.of(OPTION_FORMAT, FORMAT, OPTION_PATH, "/path", OPTION_GLOB, "*");

        given(resolver.resolveMetadata(resolvedFields, options)).willReturn(metadata);

        // when
        Metadata metadata = resolvers.resolveMetadata(resolvedFields, options);

        // then
        assertThat(metadata).isNotNull();
    }