public void ComputeGuid_AsExpected() { var sut1 = HashAlgorithm.ComputeGuid("abcdefghij"); var sut2 = HashAlgorithm.ComputeGuid("abcdefghij"); var sut3 = HashAlgorithm.ComputeGuid("aaabbbddde"); var sut4 = HashAlgorithm.ComputeGuid(null); Assert.NotEqual(Guid.Empty, sut1); Assert.Equal(sut2.ToString(), sut1.ToString()); Assert.NotEqual(sut3.ToString(), sut1.ToString()); Assert.Equal(Guid.Empty.ToString(), sut4.ToString()); }