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

ThrowsArgumentOutOfRangeExceptionForIndexSmallerThanZero() private method

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