// Integration test with real crypto svc
@Test
public void testEncryptedPropertyLoadRealCryptoSvc() throws Exception {
java.io.File ksRoot = tempKeyStoreFolder.getRoot();
CryptoTestsConfig.createTestKeyStore(ksRoot);
CryptoService crypto = CryptoTestsConfig.getCryptoService(ksRoot);
PropertiesLoader loader = new PropertiesLoader(crypto);
Map<String, String> props = loader.loadFromList(
PropertiesTestsSetUp.prepareEncryptedSettings(crypto.encrypt(DB_PASSWORD)));
assertEquals(DB_PASSWORD, props.get("password"));
}