public void It_should_play_a_background_sound_when_told_to_play()
            {
                Subject.AddBackgroundSound(anySound.Object);

                Subject.Play();

                anySound.Verify(x => x.Play(), Times.AtLeastOnce());
            }
            public void It_should_stop_all_sound_when_requested()
            {
                Subject.AddBackgroundSound(anySound.Object);
                Subject.AddBackgroundSound(anotherSound.Object);

                Subject.Stop();

                anySound.Verify(x => x.Stop(), Times.AtLeastOnce());
                anotherSound.Verify(x => x.Stop(), Times.AtLeastOnce());
            }
            public void Its_playback_status_should_be_stopped_when_no_background_sounds_are_available_but_not_playing()
            {
                anySound
                .Setup(x => x.CurrentPlaybackState)
                .Returns(PlaybackState.Stopped);

                Subject.AddBackgroundSound(anySound.Object);

                Subject.CurrentPlaybackState.ShouldEqual(PlaybackState.Stopped);
            }
            public void Its_playback_status_should_be_playing_when_one_background_sound_is_playing()
            {
                anySound
                .Setup(x => x.CurrentPlaybackState)
                .Returns(PlaybackState.Playing);

                Subject.AddBackgroundSound(anySound.Object);
                Subject.Play();

                Subject.CurrentPlaybackState.ShouldEqual(PlaybackState.Playing);
            }
 public void It_should_add_a_background_sound()
 {
     Subject.AddBackgroundSound(anySound.Object);
 }