public void GuidEqualsWorksWithNonIdenticalGuid() { var guid1 = new GuidHolder(Guid.NewGuid()); var guid2 = new GuidHolder(Guid.NewGuid()); Assert.IsFalse(guid1.Equals(guid2)); }
public void GuidEqualsWorksWithIdenticalGuid() { var id = Guid.NewGuid(); var guid1 = new GuidHolder(id); var guid2 = new GuidHolder(id); Assert.IsTrue(guid1.Equals(guid2)); }