--TEST-- MongoDB\Driver\ClientEncryption::getKeys() with empty key vault --SKIPIF-- createClientEncryption([ 'keyVaultNamespace' => CSFLE_KEY_VAULT_NS, 'kmsProviders' => ['local' => ['key' => new MongoDB\BSON\Binary(CSFLE_LOCAL_KEY, 0)]], ]); var_dump(iterator_count($clientEncryption->getKeys())); ?> ===DONE=== --EXPECT-- int(0) ===DONE===