public void HandleToggleShuffle_ShuffleOnFalse_SetsShuffleOnTrue()
        {
            _subject.Handle(new ToggleShuffleMessage());

            _subject.ShuffleOn.Should().BeTrue();
        }
Exemple #2
0
        public void GetNextTrackNumber_ShuffleOffAndCurrentItemLastItem_Return0()
        {
            _subject.Items.AddRange(GeneratePlaylistItems());
            _subject.Handle(new PlayNextMessage());
            _subject.Handle(new PlayNextMessage());

            _subject.GetNextTrackNumber().Should().Be(0);
        }