public void ResolveTheBackgroundWorkerWhenStarting()
{
Func<bool> hasBeenResolved = () => _container.Container.ComponentRegistry.Registrations
.Any(r => r.Services.OfType<TypedService>().Any(s => s.ServiceType == typeof(IBackgroundWorkerService)));
Assert.That(hasBeenResolved(), Is.False);
_sut.OnStart();
Assert.That(hasBeenResolved());
}