public InventoryControllerTests() { _context = new GilliganTestContext(); var container = Bootstrapper.RegisterTypes(); var mapper = container.Resolve <IMapper>(); _inventoryController = new InventoryController(new InventoryService(new GenreRepository(_context), new ArtistRepository(_context), new AlbumRepository(_context), new SongRepository(_context), new UserRepository(_context)), mapper); }
public SearchControllerTests() { _context = new GilliganTestContext(); var container = Bootstrapper.RegisterTypes(); var mapper = container.Resolve <IMapper>(); _searchController = new SearchController(mapper, new SearchService(new SongRepository(_context), new AlbumRepository(_context), new ArtistRepository(_context), new GenreRepository(_context))); }
public ArtistRepositoryTests() { _context = new GilliganTestContext(); _artistRepository = new ArtistRepository(_context); }
public UserRepositoryTests() { _context = new GilliganTestContext(); _userRepository = new UserRepository(_context); }
public RatingServiceTests() { _context = new GilliganTestContext(); _ratingService = new RatingService(new SongRepository(_context), new ArtistRepository(_context), new GenreRepository(_context), new AlbumRepository(_context), new UserRepository(_context)); }
public RatingRepositoryTests() { _context = new GilliganTestContext(); _ratingRepository = new RatingRepository(_context); }
public AlbumRepositoryTests() { _context = new GilliganTestContext(); _albumRepository = new AlbumRepository(_context); }
public SearchServiceTests() { _context = new GilliganTestContext(); _searchService = new SearchService(new SongRepository(_context), new AlbumRepository(_context), new ArtistRepository(_context), new GenreRepository(_context)); }
public InventoryServiceTests() { _context = new GilliganTestContext(); _inventoryService = new InventoryService(new GenreRepository(_context), new ArtistRepository(_context), new AlbumRepository(_context), new SongRepository(_context), new UserRepository(_context)); }
public GenreRepositoryTests() { _context = new GilliganTestContext(); _genreRepository = new GenreRepository(_context); }
public SongRepositoryTests() { _context = new GilliganTestContext(); _songRepository = new SongRepository(_context); }