()
| 1288 | |
| 1289 | #[test] |
| 1290 | fn test_store_exists() { |
| 1291 | let (_temp, store) = create_test_store(); |
| 1292 | |
| 1293 | let identity = Identity::generate("exists-test"); |
| 1294 | assert!(!store.exists(&identity.id)); |
| 1295 | |
| 1296 | store.save(&identity).unwrap(); |
| 1297 | assert!(store.exists(&identity.id)); |
| 1298 | } |
| 1299 | } |
| 1300 | |
| 1301 | #[cfg(test)] |
nothing calls this directly
no test coverage detected