// change the global proxy
final DefaultRemoteHttpProxySettings httpProxySettings = new DefaultRemoteHttpProxySettings();
httpProxySettings.setHostname("192.168.1.1");
httpProxySettings.setPort(1234);
RemoteProxySettings proxy = applicationConfiguration.getGlobalRemoteStorageContext().getRemoteProxySettings();
proxy.setHttpProxySettings(httpProxySettings);
// TODO: this is the spurious part!!! Make it not needed! Config framework DOES know it changed!
// If you remove this, test will fail
applicationConfiguration.getGlobalRemoteStorageContext().setRemoteProxySettings(proxy);
applicationConfiguration.saveConfiguration();