public static void MyClassInitialize(TestContext testContext)
 {
     kernel         = TestManager.ConfigureNInjectKernel();
     userProfileDao = kernel.Get <IUserProfileDao>();
     creditCardDao  = kernel.Get <ICreditCardDao>();
     deliveryDao    = kernel.Get <IDeliveryDao>();
 }
Esempio n. 2
0
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel         = TestManager.ConfigureNInjectKernel();
     productDao     = kernel.Get <IProductDao>();
     categoryDao    = kernel.Get <ICategoryDao>();
     commentDao     = kernel.Get <ICommentDao>();
     userProfileDao = kernel.Get <IUserProfileDao>();
 }
        public static void MyClassInitialize(TestContext testContext)
        {
            kernel = TestManager.ConfigureNInjectKernel();

            shoppingService = kernel.Get <IShoppingService>();
            userProfileDao  = kernel.Get <IUserProfileDao>();
            creditCardDao   = kernel.Get <ICreditCardDao>();
            categoryDao     = kernel.Get <ICategoryDao>();
            productDao      = kernel.Get <IProductDao>();
        }
        public static void MyClassInitialize(TestContext testContext)
        {
            kernel = TestManager.ConfigureNInjectKernel();

            productDao          = kernel.Get <IProductDao>();
            categoryDao         = kernel.Get <ICategoryDao>();
            specificPropertyDao = kernel.Get <ISpecificPropertyDao>();
            commentDao          = kernel.Get <ICommentDao>();
            tagDao  = kernel.Get <ITagDao>();
            userDao = kernel.Get <IUserProfileDao>();

            productService = kernel.Get <IProductService>();
        }
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel      = TestManager.ConfigureNInjectKernel();
     categoryDao = kernel.Get <ICategoryDao>();
 }