public void NotEqualOnNull() { var value = new MdmId { SystemName = "CME", Identifier = "MFF" }; Assert.IsFalse(value.Equals(null)); }
public void EqualOnSystemNameIdentifier() { var value = new MdmId { SystemName = "CME", Identifier = "MFF", IsMdmId = true, StartDate = DateTime.Now, EndDate = DateTime.Now.AddDays(5) }; var candidate = new MdmId { SystemName = "CME", Identifier = "MFF" }; Assert.IsTrue(value.Equals(candidate)); }