"-resourceBase", "foo",
"-logsDirectory", "bar",
"-remoteMachineNames", "foo,bar",
"-browserFileNames", "fu,bar"
});
JsUnitServer server = new JsUnitServer();
ArgumentsConfiguration configuration = new ArgumentsConfiguration(args);
configuration.configure(server);
assertEquals(12345, server.getPort());
assertEquals(new File("foo"), server.getResourceBase());
assertEquals(new File("bar"), server.getLogsDirectory());
assertEquals(Utility.listWith("fu", "bar"), server.getLocalBrowserFileNames());
assertEquals("http://www.jsunit.net/", server.getTestURL().toString());
}