Beispiel #1
0
        public void should_create_timespan()
        {
            var blueprint = new TimespanBlueprint();

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

            result.ShouldNotBe(null);
        }
Beispiel #2
0
        public void should_match_timespan()
        {
            var blueprint = new TimespanBlueprint();

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

            matches.ShouldBe(true);
        }
Beispiel #3
0
        public void should_construct()
        {
            var blueprint = new TimespanBlueprint();

            var result = blueprint.Construct(new ConstruktionContext(typeof(TimeSpan)),
                                             new DefaultConstruktionPipeline());

            result.ShouldNotBe(default(TimeSpan));
        }