public void Get_Node_By_Route(string route, int nodeId) { var result = _cache.GetByRoute(route, false); Assert.IsNotNull(result); Assert.AreEqual(nodeId, result.Id); }
public IPublishedContent Find(string url) { return(_publishedContentCache.GetByRoute(url)); }