public void MinimalConstructorTest()
 {
     var monitor = new TeamCityMonitor();
     var setting = new Settings();
     setting.Add("Host", "Host");
     monitor.Initialise("Test", setting);
     Assert.IsTrue(monitor.IsInitialised);
 }
 public void ConnectedTest2()
 {
     var monitor = new TeamCityMonitor();
     var setting = new Settings();
     setting.Add("Host", "nzakledci01:8080");
     setting.Add("ProjectID", "project8");
     monitor.Initialise("Test", setting);
     Assert.IsTrue(monitor.IsInitialised);
 }
 public void PollTest()
 {
     var monitor = new TeamCityMonitor();
     var setting = new Settings();
     setting.Add("Host", "nzakledci01:8080");
     setting.Add("ProjectID", "project8");
     monitor.Initialise("Test", setting);
     var result = monitor.Poll();
     Assert.IsNotNull(result);
 }
 public void InvalidConstructorTest()
 {
     var monitor = new TeamCityMonitor();
     var setting = new Settings();
     monitor.Initialise("Test", setting);
 }