public void abstract_blueprints_should_only_match_t()
        {
            var construktion = new Construktion();

            construktion.Apply(new FooBlueprint());

            ShouldlyExtensions.ShouldNotThrow <InvalidCastException>(() => construktion.Construct <string>());
        }
Exemple #2
0
        public void default_count_should_be_3()
        {
            var ints = construktion.Apply(registry).ConstructMany <int>();

            ints.Count().ShouldBe(3);
        }