()
| 731 | |
| 732 | #[test] |
| 733 | fn deserialize_unknown_key_algorithm() { |
| 734 | let key_alg_json = json!(""); |
| 735 | let key_alg_result: KeyAlgorithm = |
| 736 | serde_json::from_value(key_alg_json).expect("Could not deserialize json"); |
| 737 | assert_eq!(key_alg_result, KeyAlgorithm::UNKNOWN_ALGORITHM); |
| 738 | } |
| 739 | |
| 740 | #[test] |
| 741 | fn deserialize_unknown_kty() { |
nothing calls this directly
no outgoing calls
no test coverage detected