| 195 | } |
| 196 | |
| 197 | void test_message_print() { |
| 198 | message m("hello"); |
| 199 | m.to("to"); |
| 200 | m.user("user"); |
| 201 | m.subject("subject"); |
| 202 | m.content_type("weird"); |
| 203 | m.correlation_id(23); |
| 204 | m.properties().put("foo", "bar"); |
| 205 | m.properties().put("num", 9); |
| 206 | m.delivery_annotations().put("deliverme", "please"); |
| 207 | ASSERT_EQUAL("Message{address=\"to\", user_id=\"user\", subject=\"subject\", correlation_id=23, content_type=\"weird\", body=\"hello\"}", to_string(m)); |
| 208 | } |
| 209 | |
| 210 | } |
| 211 |
no test coverage detected