Exemplo n.º 1
0
        public void RemoveEntryShouldRemove(int key, string entry, LeastRecentlyUsedCache <int, string> sut)
        {
            // Arrange
            sut.AddEntry(key, entry);

            // Act
            sut.RemoveEntry(key);
            var actual = sut.GetEntry(key);

            // Assert
            actual.ShouldBeNull();
        }