KBaseMessageProcessor implements MessageProcessor { @Override public void process(IncomeMessage message) { Matcher matcher = pattern.matcher(message.content()); while (matcher.find()) { String number = matcher.group("number"); fetch(message, number); } } KBaseMessageProcessor(RestClient restClient); @Override void process(IncomeMessage message);  }
@Test public void testAcceptance() { Spec.given(processor) .expect(it(), to(process(message("https: .expect(it(), to(process(message("hey, I found this solution: https: }