public void TearDown()
 {
     userManager       = null;
     cacheStoreManager = null;
     mockLogManager    = null;
     userIdentity      = null;
 }
 public void Init()
 {
     mockLogManager        = new Mock <ILogManager>();
     userManager           = new Mock <IUserManager>();
     cacheStoreManager     = new CacheStoreManager();
     transformationManager = new DealStatusSummariesTransformationManager(userManager.Object);
 }
 public void Init()
 {
     mockLogManager        = new Mock <ILogManager>();
     userManager           = new Mock <IUserManager>();
     cacheStoreManager     = new CacheStoreManager();
     transformationManager = new PersonTransformationManager();
 }
 public void Init()
 {
     mockLogManager        = new Mock <ILogManager>();
     userManager           = new Mock <IUserManager>();
     cacheStoreManager     = new CacheStoreManager();
     transformationManager = new CheckListsTransformationManager(userManager.Object);
 }
 public void Cleanup()
 {
     userManager       = null;
     cacheStoreManager = null;
     mockLogManager    = null;
     userIdentity      = null;
 }
 public void Init()
 {
     mockLogManager        = new Mock <ILogManager>();
     userManager           = new Mock <IUserManager>();
     cacheStoreManager     = new CacheStoreManager();
     transformationManager = new DealTransformationManager(userManager.Object);
     dealLockManager       = new Mock <IEntityLockManager>();
 }
예제 #7
0
 public void Init()
 {
     mockLogManager        = new Mock <ILogManager>();
     userManager           = new Mock <IUserManager>();
     cacheStoreManager     = new CacheStoreManager();
     transformationManager = new EntityLockTransformationManager();
     entityLockManager     = new Mock <IEntityLockManager>();
 }
        public TestUserProfile(Enum role)
        {
            _cacheStoreManager = new CacheStoreManager();
            _userManager       = new UserManager(_cacheStoreManager);

            string userName = GetTestUserNameByRole(role);

            InitializeUser(userName);
        }
        public TestUserProfile(string userLoginName)
        {
            _cacheStoreManager = new CacheStoreManager();
            _userManager       = new UserManager(_cacheStoreManager);

            string userName = GetUserNamefromLoginID(userLoginName);

            InitializeUser(userLoginName);
        }
예제 #10
0
        public TestUserProfile()
        {
            _cacheStoreManager = new CacheStoreManager();
            _userManager       = new UserManager(_cacheStoreManager);

            string userName = Environment.UserName;

            InitializeUser(userName);
        }
예제 #11
0
 public void Init()
 {
     userManager = new Mock <IUserManager>();
     SetupUserIdentity();
     cacheStoreManager = new CacheStoreManager();
 }
예제 #12
0
 public void Cleanup()
 {
     userManager       = null;
     cacheStoreManager = null;
 }
예제 #13
0
 public void TearDown()
 {
     userManager       = null;
     cacheStoreManager = null;
 }