()
| 831 | |
| 832 | #[test] |
| 833 | fn test_cache_factory() { |
| 834 | let factory = TtlCacheFactory::new(); |
| 835 | let cache: TtlCache<String, String> = factory.create_cache(); |
| 836 | |
| 837 | cache.insert("test".to_string(), "value".to_string()); |
| 838 | assert_eq!(cache.get(&"test".to_string()), Some("value".to_string())); |
| 839 | } |
| 840 | |
| 841 | #[test] |
| 842 | fn test_config_from_env() { |
nothing calls this directly
no test coverage detected