Exemplo n.º 1
0
        public void should_create_timespan()
        {
            var blueprint = new TimespanBlueprint();

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

            result.ShouldNotBe(null);
        }
Exemplo n.º 2
0
        public void should_match_timespan()
        {
            var blueprint = new TimespanBlueprint();

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

            matches.ShouldBe(true);
        }
Exemplo n.º 3
0
        public void should_construct()
        {
            var blueprint = new TimespanBlueprint();

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

            result.ShouldNotBe(default(TimeSpan));
        }