public void The_Collection_interface_does_not_expose_it()
        {
            var propertyInfo = CollectionInterface.GetProperty(_structuralProperty.Name, PermissiveBindingFlags);

            propertyInfo
            .Should().BeNull("Because you cannot independently fetch a complex type.");
        }
        public void The_Collection_class_does_not_expose_it()
        {
            var propertyInfo = CollectionInterface.GetProperty(_structuralProperty.Name, PermissiveBindingFlags);

            propertyInfo
            .Should().BeNull();
        }
        public Given_an_OdcmClass_Entity_Collection_GetById_Indexer()
        {
            base.Init();

            _getByIdIndexer = CollectionInterface.GetProperty("Item",
                                                              PermissiveBindingFlags,
                                                              null,
                                                              FetcherInterface,
                                                              ConcreteType.GetKeyProperties()
                                                              .Select(p => p.PropertyType)
                                                              .ToArray(), null);
        }