public void PollInvokesPollOnAllContainedProjects() { monitor1.Setup(_monitor => _monitor.Poll()).Verifiable(); monitor2.Setup(_monitor => _monitor.Poll()).Verifiable(); monitor3.Setup(_monitor => _monitor.Poll()).Verifiable(); aggregator.Poll(); }
public void PollInvokesPollOnAllContainedProjects() { monitor1.Expect("Poll"); monitor2.Expect("Poll"); monitor3.Expect("Poll"); aggregator.Poll(); }