Esempio n. 1
0
        public void Should_run_checks_with_all_clients_for_all_brokers()
        {
            monitorRun.Run();

            managementClientFactory.AssertWasCalled(x => x.CreateManagementClient(brokers[0]));

            check.AssertWasCalled(x => x.RunCheck(managementClient));

            alertSink.AssertWasCalled(x => x.Alert("boo!"));
        }