public void Access_position_without_index_throws_exception()
        {
            var firstNode = new LinkedListNode(5);

            firstNode.AddNode(8);

            var    entityUnderTest = new LinkedList(firstNode);
            Action act             = () => entityUnderTest.GetValueAt(2);

            act.Should().ThrowExactly <IndexOutOfRangeException>();
        }
        public void Access_position_returns_correct_item()
        {
            var firstNode = new LinkedListNode(5);

            firstNode.AddNode(8);

            var entityUnderTest = new LinkedList(firstNode);

            entityUnderTest.GetValueAt(0).Should().Be(5);
            entityUnderTest.GetValueAt(1).Should().Be(8);
        }