class MessagingRequestMatchers {

  public static <Req extends MessagingRequest> Matcher<Req> channelKindEquals(String channelKind) {
    if (channelKind == null) throw new NullPointerException("channelKind == null");
    if (channelKind.isEmpty()) throw new NullPointerException("channelKind is empty");
    return new MessagingChannelKindEquals<>(channelKind);
  }

}