public void IntIDToStringTest() { var intStronglyTypedID = new IntStronglyTypedID(); intStronglyTypedID.ToString().Should().MatchRegex("^\\d+$"); }
public IntStronglyTypedIDSerializationTestData(IntStronglyTypedID instanceTestData, string serializedTestData) { InstanceTestData = instanceTestData; SerializedTestData = serializedTestData ?? throw new ArgumentNullException(nameof(serializedTestData)); }
public IntIdTestData(IntStronglyTypedID intId, string serializedIntId) { IntId = intId; SerializedIntId = serializedIntId ?? throw new ArgumentNullException(nameof(serializedIntId)); }