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"); }
public void arguments_just_returns_itself() { var generation = new HiloIdGeneration(typeof(Target)); generation.ToArguments().Single().ShouldBeSameAs(generation); }