public void ReverseUtils_ConvertStringToBooleanYN4() { string stringValue = null; bool? result = ReverseUtils.ConvertStringToBooleanYN(stringValue); Assert.AreEqual(null, result); }
public void ReverseUtils_ConvertStringToBooleanYN3() { string stringValue = "Y"; bool? result = ReverseUtils.ConvertStringToBooleanYN(stringValue); Assert.IsNotNull(result); Assert.AreEqual(true, result.Value); }