Exemplo n.º 1
0
        public void create_argument_value()
        {
            var container = Container.For<DevelopmentModeRegistry>();

            var schema = container.GetInstance<IDocumentSchema>();

            var generation = new HiloIdGeneration(typeof(Target));

            generation.GetValue(schema).ShouldBeOfType<HiLoSequence>()
                .EntityName.ShouldBe("Target");
        }
Exemplo n.º 2
0
 public void arguments_just_returns_itself()
 {
     var generation = new HiloIdGeneration(typeof(Target));
     generation.ToArguments().Single().ShouldBeSameAs(generation);
 }