Catel.Test.ArgumentFacts.TheIsOfTypeMethod.ThrowsArgumentExceptionForTypeNotImplementingRequiredType C# (CSharp) Method

ThrowsArgumentExceptionForTypeNotImplementingRequiredType() private method

            public void ThrowsArgumentExceptionForTypeNotImplementingRequiredType()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => Argument.IsOfType("myParam", typeof(PersonViewModel), typeof(ViewLocator)));
            }