public void RegisterPollProcessorWithValidEndpoint()
 {
     var container = new UnityContainer();
     container.RegisterPollProcessor(
         new PollProcessorEndpoint { Handler = typeof(PollerImpl), IntervalSecs = 1, Name = "Test Poller", Workers = 1, SinglePolling = true });
     container.Resolve<IPollProcessor>("Test Poller");
     container.Resolve<PollProcessorEndpoint>("Test Poller");
     container.Resolve<IPoller>("Test Poller");
 }
 public void RegisterPollProcessorWithInvalidEndpoint()
 {
     var container = new UnityContainer();
     container.RegisterPollProcessor(new PollProcessorEndpoint());
 }