public void NullLongTypeConverter_ConvertCoreWithEmptyString_Converts() { string source = string.Empty; var result = NullLongTypeConverter.Convert(source); Assert.IsNull(result); }
public void NullLongTypeConverter_ConvertCoreWithValidString_Converts() { long number = 5; string source = number.ToString(); var result = NullLongTypeConverter.Convert(source); Assert.IsNotNull(result); Assert.IsTrue(result == number); }