XmlEncryption\XmlEncryptionExtensionsTests.cs (11)
25XmlAssert.Equal("<element />", original); // unmutated
49XmlAssert.Equal("<newNode />", retVal);
76XmlAssert.Equal("<newNode />", retVal);
110XmlAssert.Equal("<value />", retVal);
142XmlAssert.Equal("<value />", retVal);
193XmlAssert.Equal(expected, retVal);
208XmlAssert.Equal("<element />", original); // unmutated
223XmlAssert.Equal(@"<rootNode x:requiresEncryption='true' xmlns:x='http://schemas.asp.net/2015/03/dataProtection' />", original); // unmutated
226XmlAssert.Equal("<theElement />", retVal.Descendants().Single());
271XmlAssert.Equal(expected, retVal);
320XmlAssert.Equal(expected, retVal);