Catel.Test.Collections.CollectionExtensionsFacts.TheMoveItemDownByIndexMethod.ThrowsArgumentOutOfRangeExceptionForIndexLargerThanListCount C# (CSharp) Method

ThrowsArgumentOutOfRangeExceptionForIndexLargerThanListCount() private method

            public void ThrowsArgumentOutOfRangeExceptionForIndexLargerThanListCount()
            {
                var list = new List<int> { 1, 2, 3 };
                ExceptionTester.CallMethodAndExpectException<ArgumentOutOfRangeException>(() => list.MoveItemDownByIndex(3));
            }