AWSSDK.UnitTests.LruListTest.LruList_RemoveHeadTwoItems C# (CSharp) Method

LruList_RemoveHeadTwoItems() private method

private LruList_RemoveHeadTwoItems ( ) : void
return void
        public void LruList_RemoveHeadTwoItems()
        {
            var lruList = new LruList<string, string>();
            var item1 = new LruListItem<string, string>("key1", "value1");
            var item2 = new LruListItem<string, string>("key2", "value2");
            lruList.Add(item1);
            lruList.Add(item2);
            lruList.Remove(item2);
            AssertDisconnected(item2);
            AssertListState(lruList, item1);
        }