public void MarkupValueConverter_CheckParameterTypeTest4() { try { MockMarkupValueConverter.CheckParameterType("abc", null); Assert.Fail("Expected an exception"); } catch (ArgumentNullException ex) { Assert.AreEqual("validParameterTypes", ex.ParamName); } }
public void MarkupValueConverter_CheckParameterTypeTest2() { try { MockMarkupValueConverter.CheckParameterType("abc", typeof(int), typeof(long)); Assert.Fail("Expected an exception"); } catch (ArgumentException ex) { Assert.AreEqual("parameter", ex.ParamName); } }
public void MarkupValueConverter_CheckParameterTypeTest5() { MockMarkupValueConverter.CheckParameterType(null, typeof(string), typeof(int), typeof(long)); }
public void MarkupValueConverter_CheckParameterType1Test3() { MockMarkupValueConverter.CheckParameterType <string>(null); }
public void MarkupValueConverter_CheckParameterType1Test1() { MockMarkupValueConverter.CheckParameterType <string>("abc"); }