Exemple #1
0
        public void TestFixtureSetUp()
        {
            //  Initialize Autofac for dependency injection.
            AutofacRegistrations.RegisterDaoFactory();
            Scope      = AutofacRegistrations.Container.BeginLifetimeScope();
            DaoFactory = Scope.Resolve <IDaoFactory>();

            //  Initialize AutoMapper with Streamus' server mappings.
            WebApiApplication.CreateAutoMapperMaps();
        }