public override void RandomizeFields(ReferenceDataProvider referenceDataProvider) { StringProperty = Randomizer.RandomString(10); EnumProperty = Randomizer.RandomEnum <MyEnum>(); IntegerProperty = Randomizer.RandomInteger(10); ReferenceProperty = referenceDataProvider.MyReferenceObjects[Randomizer.RandomInteger(referenceDataProvider.MyReferenceObjects.Count - 1)]; }
public override void RandomizeFields(ReferenceDataProvider referenceDataProvider) { StringProperty = Randomizer.RandomString(10); }