Catel.Test.ArgumentFacts.TheIsOfTypeMethod.ThrowsArgumentExceptionForTypeNotImplementingRequiredType C# (CSharp) 메소드

ThrowsArgumentExceptionForTypeNotImplementingRequiredType() 개인적인 메소드

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