public Optional<Map<String, EncryptionInformation>> getReadEncryptionInformation(
            ConnectorSession session,
            Table table,
            Optional<Set<HiveColumnHandle>> requestedColumns,
            Map<String, Partition> partitions)
    {
        for (EncryptionInformationSource source : sources) {
            Optional<Map<String, EncryptionInformation>> result = source.getReadEncryptionInformation(session, table, requestedColumns, partitions);
            if (result != null && result.isPresent()) {
                return result.map(ImmutableMap::copyOf);
            }
        }

        return Optional.empty();
    }
@Test
    public void testNoOneReturns()
    {
        HiveEncryptionInformationProvider provider = new HiveEncryptionInformationProvider(ImmutableList.of(
                new TestEncryptionInformationSource(Optional.empty()),
                new TestEncryptionInformationSource(Optional.empty())));

        assertFalse(provider.getReadEncryptionInformation(SESSION, TEST_TABLE, Optional.empty()).isPresent());
    }