public void NullUtils_GetNullOrInt16_Value_Success() { Int16?value = (short)12; Assert.AreEqual((short)12, NullUtils.GetNullOrInt16(value), "GetNullOrInt16(value) did not return the expected value"); }
public void NullUtils_GetNullOrInt16_Null_Success() { Int16?value = null; Assert.IsNull(NullUtils.GetNullOrInt16(value), "GetNullOrInt16(null) should have returned null"); }