public UpdateParkrunCourseDetailsTests() { _mongoDbFixture = new MongoDbFixture(); _fixture = new Fixture(); _fixture.Customizations.Add(new UtcRandomDateTimeSequenceGenerator()); _handler = new UpdateParkrunCourseDetails.Handler(_mongoDbFixture.Collection); }
public UpsertParkrunHandlerTests() { _mongoDbFixture = new MongoDbFixture(); _fixture = new Fixture(); _fixture.Customizations.Add(new UtcRandomDateTimeSequenceGenerator()); _handler = new UpsertParkrun.Handler(_mongoDbFixture.Collection); }
public QueryFirstParkrunForWebsiteTests() { _mongoDbFixture = new MongoDbFixture(); _fixture = new Fixture(); _fixture.Customizations.Add(new UtcRandomDateTimeSequenceGenerator()); _handler = new QueryFirstParkrunForWebsite.Handler(_mongoDbFixture.Collection); }
public QueryParkrunByPolygonTests() { _today = new DateTime(2018, 12, 31); _mongoDbFixture = new MongoDbFixture(); _fixture = new Fixture(); _fixture.Customizations.Add(new UtcRandomDateTimeSequenceGenerator()); _handler = new QueryParkrunByPolygon.Handler(_mongoDbFixture.Collection, () => _today); }