public void RemoveShouldRemoveItemFromCache()
        {
            // Arrange
            var sut = new PipelineCache <string>();
            var key = new CacheKey(1, 2);

            sut.AddOrReplace(key, "hello world");

            // Act
            var before = sut.Contains(key);

            sut.Remove(key);
            var after = sut.Contains(key);

            // Assert
            Assert.True(before);
            Assert.False(after);
        }
        public void ContainsShouldReturnFalseWhenItemIsNotContained()
        {
            // Arrange
            var sut = new PipelineCache <string>();
            var key = new CacheKey(1, 2);

            // Act
            var actual = sut.Contains(key);

            // Assert
            Assert.False(actual);
        }
        public void ContainsShouldReturnTrueWhenItemIsContained()
        {
            // Arrange
            var sut = new PipelineCache <string>();
            var key = new CacheKey(1, 2);

            sut.AddOrReplace(key, "hello world");

            // Act
            var actual = sut.Contains(key);

            // Assert
            Assert.True(actual);
        }