()
| 967 | |
| 968 | #[test] |
| 969 | fn test_json_roundtrip() { |
| 970 | let original = make_envelope(); |
| 971 | let json = serde_json::to_string(&original).unwrap(); |
| 972 | let decoded: SessionEnvelope = serde_json::from_str(&json).unwrap(); |
| 973 | assert_eq!(original, decoded); |
| 974 | } |
| 975 | |
| 976 | #[test] |
| 977 | fn test_json_minimal_has_null_optionals() { |
nothing calls this directly
no test coverage detected