()
| 115 | |
| 116 | #[test] |
| 117 | fn test_registry() { |
| 118 | let mut codec_registry = CodecRegistry::default(); |
| 119 | codec_registry |
| 120 | .set_codec("test", BoxedCodec(Arc::new(TestCodec::default()))) |
| 121 | .unwrap(); |
| 122 | assert!(codec_registry.is_registered("test")); |
| 123 | } |
| 124 | } |
nothing calls this directly
no test coverage detected