void GivenThatTheBusMonitorReturnsAnOverview(bool expectFresh)
 {
     _expected = new Topic { Name = "testtopic" };
     var overview = new Overview
     {
         Topics = new List<Topic>
     {
         _expected,
         new Topic { Name="testtopic2" }
     }
     };
     _busMonitor.GetOverview(expectFresh).Returns(overview);
 }
 void GivenThatTheBusMonitorReturnsAnOverviewWithDuplicateTopics()
 {
     _expected = new Topic { Name = "testtopic" };
     var overview = new Overview
     {
         Topics = new List<Topic>
     {
         _expected,
         new Topic { Name="testtopic" }
     }
     };
     _busMonitor.GetOverview().Returns(overview);
 }
 void WhenBuildingModel(string topicname, bool forceFresh)
 {
     try
     {
         _result = _builder.Build(new TopicCriteria(topicname, forceFresh));
     }
     catch (Exception ex)
     {
         _ex = ex;
     }
 }