title: Test Method for constructor
body: <p>Working on a event scheduler with TDD and writing test project for the below class.</p>
  
  <p>Decided to write a test methods for Constructor logic</p>
  
  <pre><code>public class TechDay
  {
      public Session MorningSlot { get; set; }
      public Session EveningSlot { get; set; }
  
      public TechDay()
      {
          this.MorningSlot = new Slot();
          this.EveningSlot = new Slot();
  
          this.MorningSlot.Sessions= new List&lt;Session&gt;();
          this.EveningSlot.Sessions= new List&lt;Session&gt;();
          this.ConfigureEventSettings();
      }
  
      protected virtual void ConfigureEventSettings()
      { 
        CultureInfo provider = CultureInfo.InvariantCulture;
        this.MorningSlot.StartTime = DateTime.ParseExact("9:00 AM", "h:mm tt", provider);
        this.MorningSlot.EndTime = DateTime.ParseExact("12:00 PM", "h:mm tt", provider);
        this.EveningSlot.StartTime = DateTime.ParseExact("1:00 PM", "h:mm tt", provider);
        this.EveningSlot.EndTime = DateTime.ParseExact("5:00 PM", "h:mm tt", provider);
      }
  }
  </code></pre>
  
  <p><strong>Test Methods</strong></p>
  
  <pre><code>[TestMethod]
  public void CheckMorningSlot()
  {
      TechDay techday=new TechDay();
      Assert.IsNotNull(techday.MorningSlot);
  }
  
  [TestMethod]
  public void CheckEveningSlot()
  {
      TechDay techday=new TechDay();
      Assert.IsNotNull(techday.EveningSlot);
  }
  
  [TestMethod]
  public void CheckEveningSlotSessions()
  {
      TechDay techday=new TechDay();
      Assert.IsNotNull(techday.EveningSlot.Sessions);
  }
  
  [TestMethod]
  public void CheckMorningSlotSessions()
  {
      TechDay techday=new TechDay();
      Assert.IsNotNull(techday.MorningSlot.Sessions);
  }
  </code></pre>
  
  <p>Do I need to write different methods to check different parameter initialization in a constructor? Also not that Constructor calls another method.</p>
  
  <p>What is the best way of writing the test methods for this code?</p>