public HistoryRepositoryTests() { _context = new PartyTubeDbContextMock(); _appSettings = new AppSettings(); _videoRepository = new VideoRepository(_context.Context); _historyRepository = new HistoryRepository(_context.Context, _appSettings, _videoRepository); }
public NowPlayingRepositoryTests() { _context = new PartyTubeDbContextMock(); _videoRepository = new VideoRepository(_context.Context); _currentPlaylistRepository = new CurrentPlaylistRepository(_context.Context, _videoRepository); var appSettings = new Mock <AppSettings>(); _historyRepository = new HistoryRepository(_context.Context, appSettings.Object, _videoRepository); _repository = new NowPlayingRepository(_context.Context, _videoRepository, _currentPlaylistRepository, _historyRepository); }
public CurrentPlaylistRepositoryTests() { _context = new PartyTubeDbContextMock(); _videoRepository = new VideoRepository(_context.Context); _repository = new CurrentPlaylistRepository(_context.Context, _videoRepository); }
public VideoRepositoryTests() { _context = new PartyTubeDbContextMock(); _videoRepository = new VideoRepository(_context.Context); }