public void GetBaseAsGuidV1Test() { var correlationVector = new CorrelationVector(CorrelationVectorVersion.V1); Assert.ThrowsException <InvalidOperationException>(() => correlationVector.GetBaseAsGuid(), "V1 correlation vector base cannot be converted to a guid"); }
public void GetBaseAsGuidV2Test() { var guid = System.Guid.NewGuid(); var correlationVector = new CorrelationVector(guid); Guid baseAsGuid = correlationVector.GetBaseAsGuid(); Assert.AreEqual(guid, baseAsGuid, "Correlation Vector base as a guid should be the same as the initial guid"); }