public void RegisterAudioPlayer_Should_AddTheGivenPlayerToTheRegisteredAudioPlayersList()
        {
            var mockPlayer = new MockPlayer();

            _subject.RegisterAudioPlayer(mockPlayer);

            _subject.RegisteredAudioPlayers.Should().Contain(mockPlayer);
        }
Ejemplo n.º 2
0
 private void RegisterPlayers()
 {
     PlayerManagementService.RegisterAudioPlayer(this);
     PlayerManagementService.RegisterVideoPlayer(EmbeddedVideoPlaybackViewModel);
     PlayerManagementService.RegisterVideoPlayer(FullScreenVideoPlaybackViewModel);
 }