public WorkoutCollectionRepositoryTests() { _context = new WorkoutTrackerEntities(); wcRepository = new WorkoutCollectionRepository(_context); workoutCategoryRepository = new WorkoutCategoryRepository(_context); userRepository = new UserRepository(_context); }
public WorkoutCategoryServiceTests() { _context = new WorkoutTrackerEntities(); unitOfWork = new UnitOfWork(_context); workoutCategoryRepository = new WorkoutCategoryRepository(_context); workoutCategoryService = new WorkoutCategoryService(unitOfWork, workoutCategoryRepository); }
public UserServiceTests() { _context = new WorkoutTrackerEntities(); unitOfWork = new UnitOfWork(_context); userRepository = new UserRepository(_context); userService = new UserService(unitOfWork, userRepository); }
public UserControllerTests() { _context = new WorkoutTrackerEntities(); unitOfWork = new UnitOfWork(_context); userRepository = new UserRepository(_context); _userService = new UserService(unitOfWork, userRepository); _logManager = new LogManager(); }
public WorkoutTrackerControllerTests() { _context = new WorkoutTrackerEntities(); unitOfWork = new UnitOfWork(_context); workoutRepository = new WorkoutCollectionRepository(_context); workoutService = new WorkoutCollectionService(unitOfWork, workoutRepository); categoryRepository = new WorkoutCategoryRepository(_context); categoryService = new WorkoutCategoryService(unitOfWork, categoryRepository); userRepository = new UserRepository(_context); _userService = new UserService(unitOfWork, userRepository); _logManager = new LogManager(); }
public UserRepositoryTests() { _context = new WorkoutTrackerEntities(); userRepository = new UserRepository(_context); }
public WorkoutCategoryRepositoryTests() { _context = new WorkoutTrackerEntities(); workoutCategoryRepository = new WorkoutCategoryRepository(_context); }