public async Task GivenWeHaveCreatedASampleLearner() { var repository = new TestRepository(); await repository.ClearLearner(_ukprn, _learnerUln); await repository.AddDataLockEvent(_ukprn, _learnerUln); }
public async Task GivenWeHaveCreatedASampleLearner(int learnerCount) { var repository = new TestRepository(); for (var index = 1; index < learnerCount + 1; index++) { await repository.ClearLearner(index, index); await repository.AddDataLockEvent(index, index); } }