public void IsStringType_PrimitiveTypeProvided_FalseReturned() { TestConverter converter = new TestConverter(); bool result = converter.TestIsStringType(typeof(int)); Assert.IsFalse(result); }
public void IsStringType_StringTypeProvided_TrueReturned() { TestConverter converter = new TestConverter(); bool result = converter.TestIsStringType(typeof(string)); Assert.IsTrue(result); }
public void IsStringType_NullProvided_FalseReturned() { TestConverter converter = new TestConverter(); bool result = converter.TestIsStringType(null); Assert.IsFalse(result); }