Use the RepeatCount
property:
var fixture = new Fixture { RepeatCount = 9 };
var actual = fixture.Create<string[]>();
// -> The 'actual' array is 9 items now.
or
fixture.CreateMany<string>(9).ToArray()
Use the RepeatCount
property:
var fixture = new Fixture { RepeatCount = 9 };
var actual = fixture.Create<string[]>();
// -> The 'actual' array is 9 items now.
or
fixture.CreateMany<string>(9).ToArray()