public IntStronglyTypedIdTestData(IntStronglyTypedId instanceTestData, string serializedTestData) { InstanceTestData = instanceTestData; SerializedTestData = serializedTestData ?? throw new ArgumentNullException(nameof(serializedTestData)); }
public void IntIdToStringTest() { var intStronglyTypedId = new IntStronglyTypedId(); intStronglyTypedId.ToString().Should().MatchRegex("^\\d+$"); }