public void ParsingCorrectString_ShouldSucceed(string value)
 {
     LessonTimeSlot timeSlot = value;
 }
 public void ParsingInvalidString_ShouldThrowFormatException(string value)
 {
     Assert.Throws<FormatException>(() => LessonTimeSlot.Parse(value));
 }
 public void ShouldSerializeToProperString()
 {
     var timeSlot = new LessonTimeSlot(new TimeSpan(8, 0, 0), new TimeSpan(8, 45, 0));
     string asString = timeSlot;
     Assert.Equal("8:00 - 8:45", asString);
 }