commonresponse_ut.cc 310 B

1234567891011121314
  1. #include "gtest/gtest.h"
  2. #include "alibabacloud/core/CommonResponse.h"
  3. using namespace std;
  4. using namespace AlibabaCloud;
  5. TEST(CommonResponse, basic) {
  6. CommonResponse cres("test_payload_");
  7. EXPECT_TRUE(cres.payload() == "test_payload_");
  8. CommonResponse cres1;
  9. EXPECT_TRUE(cres1.payload() == "");
  10. }