()
| 792 | |
| 793 | #[test] |
| 794 | fn test_store_save_and_load() { |
| 795 | let (_temp, store) = create_test_store(); |
| 796 | |
| 797 | let identity = Identity::generate("alice"); |
| 798 | store.save(&identity).unwrap(); |
| 799 | |
| 800 | let loaded = store.load(&identity.id).unwrap(); |
| 801 | assert_eq!(loaded.name, "alice"); |
| 802 | assert_eq!(loaded.id, identity.id); |
| 803 | } |
| 804 | |
| 805 | #[test] |
| 806 | fn test_store_save_with_keypair() { |
nothing calls this directly
no test coverage detected