Пример #1
0
 public void Setup()
 {
     _userGroupRepository          = new Mock <IUserGroupRepository>();
     getUserGroupsQueryHandler     = new GetUserGroupsQueryHandler(_userGroupRepository.Object);
     createUserGroupCommandHandler = new CreateUserGroupCommandHandler(_userGroupRepository.Object);
     updateUserGroupCommandHandler = new UpdateUserGroupCommandHandler(_userGroupRepository.Object);
     deleteUserGroupCommandHandler = new DeleteUserGroupCommandHandler(_userGroupRepository.Object);
 }