Exemple #1
0
        public void should_construct_datetime()
        {
            var blueprint = new DateTimeBlueprint();

            var result = blueprint.Construct(new ConstruktionContext(typeof(DateTime)), Default.Pipeline);

            result.ShouldNotBe(default(DateTime));
        }
Exemple #2
0
        public void should_match_datetime()
        {
            var blueprint = new DateTimeBlueprint();

            var matches = blueprint.Matches(new ConstruktionContext(typeof(DateTime)));

            matches.ShouldBe(true);
        }