File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -548,18 +548,16 @@ The **```RandomListItem```** plugin is usefull when you want to choose the outpu
548548 {
549549 public void FillPerson ()
550550 {
551- List < string > allNames = new List <string >() { " Jennifer" , " Jenny" , " Tom" , " John" };
552-
553551 Filler < Person > pFiller = new Filler <Person >();
554552 pFiller .Setup ()
555- .OnType <string >().Use (new RandomListItem <string >(allNames ));
553+ .OnType <string >().Use (new RandomListItem <string >(" Jennifer " , " Jenny " , " Tom " , " John " ));
556554
557555 Person filledPerson = pFiller .Create ();
558556 }
559557 }
560558```
561559
562- In the example you can see that I set up four value , one of them will be the generated name of the ** ``` Person ``` ** object.
560+ In the example you can see that I set up four values , one of them will be the generated name of the ** ``` Person ``` ** object.
563561
564562###PatternGenerator Plugin
565563
You can’t perform that action at this time.
0 commit comments