public GuidStronglyTypedIDSerializationTestData(GuidStronglyTypedID instanceTestData, string serializedTestData) { InstanceTestData = instanceTestData; SerializedTestData = serializedTestData ?? throw new ArgumentNullException(nameof(serializedTestData)); }
public void GuidIDToStringTest() { var guidStronglyTypedID = new GuidStronglyTypedID(); guidStronglyTypedID.ToString().Should().MatchRegex("^[0-9A-Fa-f]{8}-?([0-9A-Fa-f]{4}-?){3}[0-9A-Fa-f]{12}$"); }