public void EnforceSizeLimit_UnderLimit_FileRetained() { // Arrange CKAN.Registry registry = CKAN.Registry.Empty(); long fileSize = new FileInfo(TestData.DogeCoinFlagZip()).Length; // Act Uri url = new Uri("http://kitte.nz/"); cache.Store(url, TestData.DogeCoinFlagZip()); cache.EnforceSizeLimit(fileSize + 100, registry); // Assert Assert.IsTrue(cache.IsCached(url)); }