public DiskIntegrationTests() { var serviceProvider = ConfigureDi.BuildDi(); keyComposer = serviceProvider.GetRequiredService <KeyComposer>(); fakeLocationCacheFactory = serviceProvider.GetRequiredService <FakeLocationCacheFactory>(); locationCache = fakeLocationCacheFactory.Create(); }
public ManagerLoggingTests() { var serviceProvider = ConfigureDi.BuildDi(); fakeLocationCacheFactory = serviceProvider.GetRequiredService <FakeLocationCacheFactory>(); locationCache = fakeLocationCacheFactory.Create(); locationCreator = Setup.ConfigureDi.Services.GetRequiredService <LocationCreator>(); }