public void WithNull_False() { ProjectVersionId vo = Freeze.GuidOne; var actually = vo.Equals(null); actually.Should().BeFalse(); }
public void WithSomethingDifferent_False() { ProjectVersionId vo = Freeze.GuidOne; // ReSharper disable once SuspiciousTypeConversion.Global var actually = vo.Equals(DateTime.UtcNow); actually.Should().BeFalse(); }
public void WithSameObject_True() { ProjectVersionId vo = Freeze.GuidOne; var one = new ProjectVersionId(Freeze.GuidOne); var actually = vo.Equals(one); actually.Should().BeTrue(); }
public void WithEmptyObject_False() { ProjectVersionId vo = Freeze.GuidOne; var empty = new ProjectVersionId(); var actually = vo.Equals(empty); actually.Should().BeFalse(); }