@Override
 public boolean test(StandardMessage msg) {
   if (!GENERIC_RESPONSE_CONDITION.test(msg)) return false;
   Response response = (Response) msg;
   if (!response.getMessageId().equals(MessageId.EVENT)) return false;
   return true;
 }
    @Override
    public boolean test(StandardMessage testMsg) {
      if (!(testMsg instanceof Response)) return false;
      Response response = (Response) testMsg;
      if (id != null) {
        if (!response.getMessageId().equals(id)) return false;
      }

      if (responseCode != null) {
        if (!(response.getResponseCode().getCode() == responseCode.getCode())) return false;
      }

      return true;
    }