()
| 1009 | |
| 1010 | #[test] |
| 1011 | fn test_store_save_and_load() { |
| 1012 | let (_temp, store) = create_test_store(); |
| 1013 | |
| 1014 | let identity = Identity::generate("alice"); |
| 1015 | store.save(&identity).unwrap(); |
| 1016 | |
| 1017 | let loaded = store.load(&identity.id).unwrap(); |
| 1018 | assert_eq!(loaded.name, "alice"); |
| 1019 | assert_eq!(loaded.id, identity.id); |
| 1020 | } |
| 1021 | |
| 1022 | #[test] |
| 1023 | fn test_store_save_with_keypair() { |
nothing calls this directly
no test coverage detected