Ejemplo n.º 1
0
 public void Init()
 {
     _musicServices = MockRepository.GenerateStub<IMusicServices>();
     _playlistManager = new PlaylistManager(_musicServices);
 }
Ejemplo n.º 2
0
 public MusicController(IMusicServices musicServices, IMapper mapperService, IArtistService artistService)
 {
     _musicServices = musicServices;
     _artistService = artistService;
     _mapperService = mapperService;
 }
Ejemplo n.º 3
0
 public void Init()
 {
     _trackQueue = MockRepository.GenerateStub<ITrackQueue>();
     _musicServices = MockRepository.GenerateStub<IMusicServices>();
     _trackHandler = new TrackHandler(_trackQueue, _musicServices);
 }
Ejemplo n.º 4
0
 public void Init()
 {
     _musicServices = MockRepository.GenerateStub<IMusicServices>();
     _userFeedBackHandler = MockRepository.GenerateStub<IUserFeedbackHandler>();
     _loginManager = new LoginManager(_musicServices, _userFeedBackHandler);
 }
Ejemplo n.º 5
0
 public PlaylistManager(IMusicServices musicServices)
 {
     _musicServices = musicServices;
 }
Ejemplo n.º 6
0
 public LoginManager(IMusicServices musicServices, IUserFeedbackHandler userFeedbackHandler)
 {
     _musicServices = musicServices;
     _userFeedbackHandler = userFeedbackHandler;
 }
Ejemplo n.º 7
0
 public void Init()
 {
     _musicServices = MockRepository.GenerateStub<IMusicServices>();
     _searchManager = new SearchManager(_musicServices);
 }
Ejemplo n.º 8
0
 public SearchManager(IMusicServices musicServices)
 {
     _musicServices = musicServices;
 }
Ejemplo n.º 9
0
 public MusicController(IMusicServices userServices)
 {
     this.musicServices = userServices;
 }
Ejemplo n.º 10
0
 public void Init()
 {
     _eventAggregator = MockRepository.GenerateMock<IEventAggregator>();
     _spotifyWrapper = MockRepository.GenerateMock<ISpotifyWrapper>();
     _musicServices = new MusicServices(_eventAggregator, _spotifyWrapper);
 }