public static void MyClassInitialize(TestContext testContext) { kernel = TestManager.ConfigureNInjectKernel(); eventDao = kernel.Get <IEventDao>(); categoryDao = kernel.Get <ICategoryDao>(); userProfileDao = kernel.Get <IUserProfileDao>(); labelDao = kernel.Get <ILabelDao>(); eventService = kernel.Get <IEventService>(); userGroupDao = kernel.Get <IUserGroup1Dao>(); recommendationDao = kernel.Get <IRecommendationDao>(); }
public static void MyClassInitialize(TestContext testContext) { kernel = TestManager.ConfigureNInjectKernel(); recommendationGroupService = kernel.Get <IRecommendationGroupService>(); userService = kernel.Get <IUserService>(); userProfileDao = kernel.Get <IUserProfileDao>(); sportEventDao = kernel.Get <ISportEventDao>(); recommendationDao = kernel.Get <IRecommendationDao>(); groupUsersDao = kernel.Get <IGroupUsersDao>(); sportEventService = kernel.Get <ISportEventService>(); categoryDao = kernel.Get <ICategoryDao>(); }