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