public void IsValidObjectDBStringFilled_Not_Null_And_DBNull_Is_Valid() { List <string> testObject = new List <string>(); Assert.IsTrue(ObjectVerify.IsValidObjectDBStringFilled(testObject)); }
public void IsValidObjectDBStringFilled_String_Filled_Is_Valid() { string stringFilled = "Foobar"; Assert.IsTrue(ObjectVerify.IsValidObjectDBStringFilled(stringFilled)); }
public void IsValidObjectDBStringFilled_DBNull_Is_Invalid() { Assert.IsFalse(ObjectVerify.IsValidObjectDBStringFilled(DBNull.Value)); }
public void IsValidObjectDBStringFilled_String_Empty_Is_Invalid() { string stringEmpty = ""; Assert.IsFalse(ObjectVerify.IsValidObjectDBStringFilled(stringEmpty)); }
public void IsValidObjectDBStringFilled_Null_Is_Invalid() { object testObject = null; Assert.IsFalse(ObjectVerify.IsValidObjectDBStringFilled(testObject)); }