public void model_definition_included_in_particular_order_v2()
        {
            var seed = new SeedProviderForEf <DbContext>(new Mock <DbContext>().Object);

            seed.Add <Model1Model2>();
            seed.Model.Should()
            .ContainInOrder
            (
                new ModelDefinition(typeof(Model1)),
                new ModelDefinition(typeof(Model2))
            );
        }
        public void model_definition_included_in_particular_order()
        {
            var seed = new SeedProviderForEf <DbContext>(new Mock <DbContext>().Object);

            seed.Add <RootModel>();
            seed.Model.Should()
            .ContainInOrder
            (
                new ModelDefinition(typeof(RootModel)),
                new ModelDefinition(typeof(RootModel.NestedModel)),
                new ModelDefinition(typeof(AnotherRootModel)),
                new ModelDefinition(typeof(AnotherRootModel.AnotherNestedModel))
            );
        }