public void Should_be_composable_before_load()
        {
            var sessionFactoryProvider =
                new SqlLiteSessionFactoryProvider(typeof(NHibernateThroughput.TargetConsumerMap));

            using (ISessionFactory sessionFactory = sessionFactoryProvider.GetSessionFactory())
            {
                Vane<Message> vane = VaneFactory.New<Message>(m =>
                    {
                        m.MessageType<Subject>(sub =>
                            {
                                sub.Load(y => y.Object<NHibernateThroughput.SubjectConsumer, int>(load =>
                                    {
                                        load.UseSessionFactory(sessionFactory);
                                        load.Id(d => d.Body.Id);
                                        load.Missing(mv => mv.Factory(() => new NHibernateThroughput.SubjectConsumer()));
                                    }, subj => subj.Consume(t => t.Consume)));
                            });
                    });
            }
        }
        public void SQLiteTestFixtureSetup()
        {
            var sessionFactoryProvider = new SqlLiteSessionFactoryProvider(_mapTypes.ToArray());

            SessionFactory = sessionFactoryProvider.GetSessionFactory();
        }