BrowserProxySettings bps = new BrowserProxySettings();
bps.setBrowser("Mozilla Firefox");
bps.setProxiesActiveFirst(proxies);
bps.setBypassAddr(new String[bypassAddr.size()]);
bypassAddr.copyInto(bps.getBypassAddr());
assertTrue("There should be three proxies.", bps.getProxies().length == 3);
assertTrue("This first proxy should be the active profile.", bps.getProxies()[0].isActiveProfile());
}