class RpcRequestMatchers {

  public static <Req extends RpcRequest> Matcher<Req> serviceEquals(String service) {
    if (service == null) throw new NullPointerException("service == null");
    if (service.isEmpty()) throw new NullPointerException("service is empty");
    return new RpcServiceEquals<>(service);
  }

}