Catel.Test.ArgumentFacts.TheIsNotOfTypeMethod.ThrowsArgumentExceptionForTypeImplementingNotRequiredType C# (CSharp) Method

ThrowsArgumentExceptionForTypeImplementingNotRequiredType() private method

            public void ThrowsArgumentExceptionForTypeImplementingNotRequiredType()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => Argument.IsNotOfType("myParam", typeof(PersonViewModel), typeof(ViewModelBase)));
            }
        }