code: @Implementation
    protected void setNdefPushMessage(
        NdefMessage message, Activity activity, Activity... activities) {
      if (activity == null) {
        throw new NullPointerException("activity cannot be null");
      }
      for (Activity a : activities) {
        if (a == null) {
          throw new NullPointerException("activities cannot contain null");
        }
      }
      this.ndefPushMessage = message;
      this.ndefPushMessageSet = true;
    }
docs: Mocks setting NDEF push message so that it could be verified in the test. Use {@link
  #getNdefPushMessage()} to verify that message was set.