4 references to xElement
Microsoft.AspNetCore.DataProtection.Tests (4)
Internal\KeyManagementOptionsPostSetupTest.cs (4)
168Assert.Throws<InvalidOperationException>(() => repository.StoreElement(xElement, friendlyName: null)); 172Assert.Throws<InvalidOperationException>(() => options.XmlEncryptor.Encrypt(xElement)); 187repository.StoreElement(xElement, friendlyName: null); 194options.XmlEncryptor.Encrypt(xElement);