()
| 943 | |
| 944 | #[test] |
| 945 | fn test_store_save_and_load() { |
| 946 | let (_temp, store) = create_test_store(); |
| 947 | |
| 948 | let identity = Identity::generate("alice"); |
| 949 | store.save(&identity).unwrap(); |
| 950 | |
| 951 | let loaded = store.load(&identity.id).unwrap(); |
| 952 | assert_eq!(loaded.name, "alice"); |
| 953 | assert_eq!(loaded.id, identity.id); |
| 954 | } |
| 955 | |
| 956 | #[test] |
| 957 | fn test_store_save_with_keypair() { |
nothing calls this directly
no test coverage detected