@Test
public void initialize() {

	EncryptorSettings encryptorSettings = EncryptorSettings.newSettings("1234");
	settings.set(new Settings(encryptorSettings, false));
	assertFalse(encryptorService.isInitialized());
	encryptorService.initialize("1234");
	verify(encryptorProviderService).setEncryptor(any(Encryptor.class));
	assertTrue(encryptorService.isInitialized());
}