public void testListBrowsersWithBrowserRunnerType() throws Exception {
CapturedBrowsers capturedBrowsers = new CapturedBrowsers(new BrowserIdStrategy(new MockTime(0)));
BrowserInfo browserInfo1 = new BrowserInfo();
browserInfo1.setId(1L);
SlaveBrowser slave1 =
new SlaveBrowser(new TimeImpl(), "1", browserInfo1, 20, null, CaptureHandler.QUIRKS,
RunnerType.CLIENT, BrowserState.CAPTURED, new Instant(0));
capturedBrowsers.addSlave(slave1);
BrowserInfo browserInfo2 = new BrowserInfo();
browserInfo1.setId(2L);
SlaveBrowser slave2 =
new SlaveBrowser(new TimeImpl(), "2", browserInfo2, 20, null, CaptureHandler.QUIRKS,
RunnerType.BROWSER, BrowserState.CAPTURED, new Instant(0));
capturedBrowsers.addSlave(slave2);
CommandGetHandler handler = new CommandGetHandler(null, null, new Gson(), capturedBrowsers);