private void InitTestObject() { _profileService = ProfileServiceMoqs.GetStandart(); _userManager = UserManagerMoqs.GetStandart(); _roleManager = RoleManagerMoqs.GetStandart(); _mapper = IoContainer.Resolve <IMapper>(); _testObject = new UserService(_userManager, _roleManager, _profileService, _mapper); }
private void InitTestObject() { _profileProvider = ProfileProviderMoqs.GetStandart(); _userManager = UserManagerMoqs.GetStandart(); _imageService = ImageServiceMoqs.GetStandart(); _mapper = IoContainer.Resolve <IMapper>(); _testObject = new ProfileService(_profileProvider, _userManager, _imageService, _mapper); }