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