public void can_locate_by_name()
 {
     string name = "pt-PT";
     WorkingDayCultureInfo workingdayCultureInfo = new WorkingDayCultureInfo(name);
     Assert.IsTrue(name == workingdayCultureInfo.Name);
     Assert.IsInstanceOf<PT_PTHolidayStrategy>(workingdayCultureInfo.LocateHolidayStrategy(name));
 }
 public void can_locate_by_culture_info()
 {
     string name = "pt-PT";
     System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo(name);
     WorkingDayCultureInfo workingdayCultureInfo = new WorkingDayCultureInfo();
     Assert.IsTrue(name == workingdayCultureInfo.Name);
     Assert.IsInstanceOf<PT_PTHolidayStrategy>(workingdayCultureInfo.LocateHolidayStrategy(name));
 }
 public void can_locate_default_strategies()
 {
     string name = "foo";
     WorkingDayCultureInfo workingdayCultureInfo = new WorkingDayCultureInfo(name);
     Assert.IsTrue(name == workingdayCultureInfo.Name);
     Assert.IsInstanceOf<DefaultHolidayStrategy>(workingdayCultureInfo.LocateHolidayStrategy(name));
     Assert.IsInstanceOf<DefaultWorkingDayOfWeekStrategy>(workingdayCultureInfo.LocateWorkingDayOfWeekStrategy(name));
 }