()
| 647 | |
| 648 | #[test] |
| 649 | fn test_identity_generate() { |
| 650 | let identity = Identity::generate("alice"); |
| 651 | assert_eq!(identity.name, "alice"); |
| 652 | assert_eq!(identity.identity_type, IdentityType::User); |
| 653 | assert!(!identity.is_expired()); |
| 654 | } |
| 655 | |
| 656 | #[test] |
| 657 | fn test_identity_builder_basic() { |
nothing calls this directly
no outgoing calls
no test coverage detected