@Test public void testAccept() throws Exception { assertThat(processor.accept(buildJsonCapabilities(internetExplorer())), is(true)); assertThat(processor.accept(buildJsonCapabilities(firefox())), is(false)); }
@Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().equals(IE_BROWSER_NAME); }
IECapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().equals(IE_BROWSER_NAME); } }
IECapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().equals(IE_BROWSER_NAME); }  }
IECapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().equals(IE_BROWSER_NAME); }  @Override boolean accept(JsonCapabilities caps); @Override void process(JsonCapabilities caps); }
IECapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().equals(IE_BROWSER_NAME); }  @Override boolean accept(JsonCapabilities caps); @Override void process(JsonCapabilities caps);  }