()
| 1081 | |
| 1082 | #[test] |
| 1083 | fn test_store_exists() { |
| 1084 | let (_temp, store) = create_test_store(); |
| 1085 | |
| 1086 | let identity = Identity::generate("exists-test"); |
| 1087 | assert!(!store.exists(&identity.id)); |
| 1088 | |
| 1089 | store.save(&identity).unwrap(); |
| 1090 | assert!(store.exists(&identity.id)); |
| 1091 | } |
| 1092 | } |
| 1093 | |
| 1094 | #[cfg(test)] |
nothing calls this directly
no test coverage detected