public virtual void ShouldPassThroughCopyOfParsers()
        {
            OverriddenTimeGlobalizationInfo strategy = new OverriddenTimeGlobalizationInfo();

            List<TimeParser> sourceParsers = new List<TimeParser>();
            sourceParsers.Add(new CustomTimeParser());

            Assert.AreNotSame(sourceParsers, strategy.GetActualTimeParsers(sourceParsers));
            Assert.IsTrue(strategy.GetActualTimeParsers(sourceParsers).Count() == 2);
        }
        public virtual void ShouldPassThroughCopyOfParsers()
        {
            OverriddenTimeGlobalizationInfo strategy = new OverriddenTimeGlobalizationInfo();

            List <TimeParser> sourceParsers = new List <TimeParser>();

            sourceParsers.Add(new CustomTimeParser());

            Assert.AreNotSame(sourceParsers, strategy.GetActualTimeParsers(sourceParsers));
            Assert.IsTrue(strategy.GetActualTimeParsers(sourceParsers).Count() == 2);
        }
        public virtual void ShouldHaveCatchallParser()
        {
            OverriddenTimeGlobalizationInfo strategy = new OverriddenTimeGlobalizationInfo();

            Assert.IsTrue(strategy.GetActualTimeParsers(null).Count() == 1);
        }
        public virtual void ShouldHaveCatchallParser()
        {
            OverriddenTimeGlobalizationInfo strategy = new OverriddenTimeGlobalizationInfo();

            Assert.IsTrue(strategy.GetActualTimeParsers(null).Count() == 1);
        }