public void Calculate(string sentence, Dictionary <string, uint> expResult) { Dictionary <string, uint> actResult = wc.Calculate(sentence); CollectionAssert.AreEquivalent(expResult, actResult, "Expexted and Actual Result dictionary are not match for sentence:\n" + sentence); }