public void GivenTheSearchIsBroken()
 {
     var search = Substitute.For<IQuery<string, Event>>();
     search.Execute().ReturnsForAnyArgs(x => { throw new Exception(); });
     controller = new EventsController(search);
 }
 public void GivenIAmOnTheSearchEventsPage()
 {
     controller = Container.GetInstance<EventsController>();
 }