Beispiel #1
0
 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)];
 }
Beispiel #2
0
 public override void RandomizeFields(ReferenceDataProvider referenceDataProvider)
 {
     StringProperty = Randomizer.RandomString(10);
 }