예제 #1
0
 public static void CustomizeRecordType(this IFixture fixture) =>
 fixture.Customize <RecordType>(composer =>
                                composer.FromFactory <int>(value => RecordType.GetAll()[value % RecordType.GetAll().Length]));