return connectorService;
}
public Acceptor buildAcceptor(boolean accepts) {
Acceptor acceptor = mock(Acceptor.class);
when(acceptor.accepts(any(Message.class))).thenReturn(accepts);
return acceptor;
}
private class TestRouter extends AbstractRouter {