public void Verify_can_return_all_probes_2() { var knowledgeBaseProvider = _provider.GetService <IKnowledgeBaseProvider>(); var config = _provider.GetService <HareDuConfig>(); var factory = new ScannerFactory(config, knowledgeBaseProvider); bool registered = factory.TryRegisterAllProbes(); registered.ShouldBeTrue(); factory.Probes.ShouldNotBeNull(); factory.Probes.ShouldNotBeEmpty(); factory.Probes.Keys.Count().ShouldBe(21); }