private static void AssertAll(IMutationRecord[] actualRecords, TestMutationRecord expected) { foreach (var actualRecord in actualRecords) { Assert.AreEqual(expected.Type, actualRecord.Type); Assert.AreEqual(expected.Target, actualRecord.Target); } }
private static void AssertRecord(IMutationRecord actual, TestMutationRecord expected) { Assert.AreEqual(expected.AttributeName, actual.AttributeName); Assert.AreEqual(expected.AttributeNamespace, actual.AttributeNamespace); Assert.AreEqual(expected.NextSibling, actual.NextSibling); Assert.AreEqual(expected.PreviousSibling, actual.PreviousSibling); Assert.AreEqual(expected.PreviousValue, actual.PreviousValue); Assert.AreEqual(expected.Type, actual.Type); Assert.AreEqual(expected.Target, actual.Target); }
static void AssertRecord(IMutationRecord actual, TestMutationRecord expected) { Assert.AreEqual(expected.AttributeName, actual.AttributeName); Assert.AreEqual(expected.AttributeNamespace, actual.AttributeNamespace); Assert.AreEqual(expected.NextSibling, actual.NextSibling); Assert.AreEqual(expected.PreviousSibling, actual.PreviousSibling); Assert.AreEqual(expected.PreviousValue, actual.PreviousValue); Assert.AreEqual(expected.Type, actual.Type); Assert.AreEqual(expected.Target, actual.Target); }
static void AssertAll(IMutationRecord[] actualRecords, TestMutationRecord expected) { foreach (var actualRecord in actualRecords) { Assert.AreEqual(expected.Type, actualRecord.Type); Assert.AreEqual(expected.Target, actualRecord.Target); } }