4 references to xElement
Microsoft.AspNetCore.DataProtection.Tests (4)
Internal\KeyManagementOptionsPostSetupTest.cs (4)
174Assert.Throws<InvalidOperationException>(() => repository.StoreElement(xElement, friendlyName: null)); 178Assert.Throws<InvalidOperationException>(() => options.XmlEncryptor.Encrypt(xElement)); 193repository.StoreElement(xElement, friendlyName: null); 200options.XmlEncryptor.Encrypt(xElement);