public void NullBoolTypeConverter_ConvertCoreWithEmptyString_Converts() { string source = string.Empty; var result = NullBoolTypeConverter.Convert(source); Assert.IsNull(result); }
public void NullBoolTypeConverter_ConvertCoreWithValidString_Converts() { bool value = true; string source = value.ToString(); var result = NullBoolTypeConverter.Convert(source); Assert.IsNotNull(result); Assert.IsTrue(result.Value); }