// make sure we do not have the default smtp password either
Assert.assertFalse("Old SMTP password found in nexus.xml", configString.contains("smtp-password"));
// now load it again and make sure the password is clear text
Configuration newConfig = source.loadConfiguration();
Assert.assertEquals(password, newConfig.getSmtpConfiguration().getPassword());
Assert.assertEquals(
password, newConfig.getRemoteProxySettings().getHttpProxySettings().getAuthentication().getPassword()
);
Assert.assertEquals(