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

ThrowsArgumentOutOfRangeExceptionForIndexLargerThanListCount() private method

            public void ThrowsArgumentOutOfRangeExceptionForIndexLargerThanListCount()
            {
                var list = new List<int> { 1, 2, 3 };
                ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => CollectionExtensions.MoveItemUpByIndex(null, 3));
            }