Catel.Test.Collections.CollectionExtensionsFacts.TheMoveItemDownByIndexMethod.ThrowsArgumentOutOfRangeExceptionForIndexSmallerThanZero C# (CSharp) 메소드

ThrowsArgumentOutOfRangeExceptionForIndexSmallerThanZero() 개인적인 메소드

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