| 17 | }; |
| 18 | |
| 19 | TEST_F(JsonHandlerTest, TestGetCompressedJson_Success) |
| 20 | { |
| 21 | std::string inputJson = R"({"key": "value"})"; |
| 22 | auto result = m_jsonHandler.GetCompressedJson(inputJson); |
| 23 | |
| 24 | ASSERT_TRUE(result.success); |
| 25 | ASSERT_EQ(result.response, R"({"key":"value"})"); |
| 26 | } |
| 27 | |
| 28 | TEST_F(JsonHandlerTest, TestGetCompressedJson_InvalidJson) |
| 29 | { |
nothing calls this directly
no test coverage detected