/// Creates a new empty test environment.
Creates a new empty test environment.
Creates a new empty test environment .
pub fn new() -> Self {
        let registry_data = Arc::new(ProtoRegistryDataProvider::new());
        let registry = Arc::new(FakeRegistryClient::new(Arc::clone(&registry_data) as Arc<_>));
        Self {
            crypto_components: BTreeMap::new(),
            registry_data,
            registry,
        }
    }
pub fn new ( ) -> Self { let registry_data = Arc :: new ( ProtoRegistryDataProvider :: new ( ) ) ; let registry = Arc :: new ( FakeRegistryClient :: new ( Arc :: clone ( & registry_data ) as Arc < _ > ) ) ; Self { crypto_components : BTreeMap :: new ( ) , registry_data , registry , } }
Creates a new empty test environment.
Creates a new empty test environment .