List<RemoteRunSpecification> specs = builder.forIdStringPairs(
new String[]{"0_0", "1_0", "1_2"},
new DummyRemoteServerConfigurationSource(someRemoteConfigs())
);
assertEquals(2, specs.size());
RemoteRunSpecification spec0 = specs.get(0);
assertEquals("http://www.example.com", spec0.getRemoteMachineBaseURL().toString());
List<Browser> spec0RemoteBrowsers = spec0.getRemoteBrowsers();
assertEquals(1, spec0RemoteBrowsers.size());
assertEquals(new Browser("firefox.exe", 0), spec0RemoteBrowsers.get(0));
RemoteRunSpecification spec1 = specs.get(1);
assertEquals("http://www.example.net", spec1.getRemoteMachineBaseURL().toString());
List<Browser> spec1RemoteBrowsers = spec1.getRemoteBrowsers();
assertEquals(2, spec1RemoteBrowsers.size());
assertEquals(new Browser("iexplore.exe", 0), spec1RemoteBrowsers.get(0));
assertEquals(new Browser("xbrowser.exe", 2), spec1RemoteBrowsers.get(1));
}