static void AssertAreEqual(IMatchedPrefixesCollection actual, params int[] expected) { var actualTmp = new HashSet <int>(actual); actualTmp.SymmetricExceptWith(expected); var diff = string.Join(", ", actualTmp); Assert.AreEqual("", diff); }
public MessagePrefixesPair(M m, IMatchedPrefixesCollection prefixes) { Message = m; Prefixes = prefixes; }