Assert.assertEquals(204, SettingsMessageUtil.save(settings).getCode());
settings = SettingsMessageUtil.getCurrentSettings();
Assert.assertEquals(2, settings.getRemoteProxySettings().getNonProxyHosts().size());
CRemoteProxySettings proxySettings = getNexusConfigUtil().getNexusConfig().getRemoteProxySettings();
Assert.assertEquals(proxySettings.getNonProxyHosts().get(0), "foo");
Assert.assertEquals(proxySettings.getNonProxyHosts().get(1), "bar");
Assert.assertEquals(2, proxySettings.getNonProxyHosts().size());
}