()
| 501 | |
| 502 | #[test] |
| 503 | fn test_author_json_with_identity() { |
| 504 | let author = Author::with_identity("Alice", Some("alice@example.com"), "KEY123"); |
| 505 | let json = serde_json::to_string(&author).unwrap(); |
| 506 | let parsed: Author = serde_json::from_str(&json).unwrap(); |
| 507 | assert_eq!(author, parsed); |
| 508 | } |
| 509 | |
| 510 | // ChangeHeader Tests |
| 511 |