Ejemplo n.º 1
0
        public void storage_arguments_adds_hierarchy_argument_with_subclasses()
        {
            var mapping = new DocumentMapping(typeof(Squad), new StoreOptions());

            mapping.AddSubClass(typeof(FootballTeam));

            mapping.ToArguments().OfType <HierarchyArgument>()
            .Single().Mapping.ShouldBeSameAs(mapping);
        }