@Test public void accept() throws Exception { assertThat(processor.accept(createCapabilities("", "iOS")), is(true)); assertThat(processor.accept(createCapabilities("blabla", "iOS")), is(false)); assertThat(processor.accept(createCapabilities("", "bla")), is(false)); assertThat(processor.accept(createCapabilities("bla", "iOS")), is(false)); }
@Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().isEmpty() && isMac(caps); }
AppiumCapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().isEmpty() && isMac(caps); } }
AppiumCapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().isEmpty() && isMac(caps); }  }
AppiumCapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().isEmpty() && isMac(caps); }  @Override boolean accept(JsonCapabilities caps); @Override void process(JsonCapabilities caps); }
AppiumCapabilityProcessor implements CapabilityProcessor { @Override public boolean accept(JsonCapabilities caps) { return caps.getBrowserName().isEmpty() && isMac(caps); }  @Override boolean accept(JsonCapabilities caps); @Override void process(JsonCapabilities caps);  }