public void GetNextTrackNumber_ShuffleOffAndCurrentItemNull_ShouldReturn0()
        {
            _subject.Items.AddRange(GeneratePlaylistItems());
            _subject.CurrentItem.Should().BeNull();

            _subject.GetNextTrackNumber().Should().Be(0);
        }
Ejemplo n.º 2
0
        public void GetNextTrackNumber_ShuffleOffAndCurrentItemLastItem_Return0()
        {
            _subject.Items.AddRange(GeneratePlaylistItems());
            _subject.Handle(new PlayNextMessage());
            _subject.Handle(new PlayNextMessage());

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