public void AddCryptographySettingsCommandAddsSymmetricCryptoProviderCollection() { AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider); cmd.Execute(ApplicationNode); SymmetricCryptoProviderCollectionNode symmetricCryptographyCollectionNode = (SymmetricCryptoProviderCollectionNode)Hierarchy.FindNodeByType(typeof(SymmetricCryptoProviderCollectionNode)); Assert.IsNotNull(symmetricCryptographyCollectionNode); }
public void AddCryptographySettingsCommandAddsHashProviderCollection() { AddCryptographySettingsNodeCommand cmd = new AddCryptographySettingsNodeCommand(ServiceProvider); cmd.Execute(ApplicationNode); HashProviderCollectionNode hashProviderCollectionNode = (HashProviderCollectionNode)Hierarchy.FindNodeByType(typeof(HashProviderCollectionNode)); Assert.IsNotNull(hashProviderCollectionNode); }