public void GetOutputFileLocation_HashInFileName() { var fileLocation = Guid.NewGuid().ToString() + "_#"; var hash = "HASH"; var strategy = new DefaultCacheInvalidationStrategy(); Assert.AreEqual(fileLocation.Replace("#", hash), strategy.GetOutputFileLocation(fileLocation, hash)); }
public void GetOutputFileLocation() { var fileLocation = Guid.NewGuid().ToString(); var hash = "HASH"; var strategy = new DefaultCacheInvalidationStrategy(); Assert.AreEqual(fileLocation, strategy.GetOutputFileLocation(fileLocation, hash)); }