public class BrowserHunterTest extends TestCase {
public void testCaptureAndGenerateUrlQuirks() throws Exception {
Time time = new MockTime(444);
BrowserHunter browserHunter =
new BrowserHunter(new CapturedBrowsers(new BrowserIdStrategy(time)), SlaveBrowser.TIMEOUT,
new NullPathPrefix(), new TimeImpl());
SlaveBrowser slaveBrowser = browserHunter.captureBrowser("name", "version", "os");
BrowserInfo browserInfo = slaveBrowser.getBrowserInfo();
assertEquals("name", browserInfo.getName());