public void GetCacheKeyTest() { var locations = new ArticleLocation(); string expected = string.Format("{0}|0|0|0|0|True|0|", typeof(ArticleLocation).AssemblyQualifiedName); string actual = locations.GetCacheKey(0, 0, 0, 0, true, 0); Assert.AreEqual(expected, actual); }