public void RequestInEndgame_AllDoNotDownload() { manager.ChangePicker(torrentManager.CreateStandardPicker(), bitfield, torrentData); foreach (var file in torrentData.Files) { file.Priority = Priority.DoNotDownload; } bitfield.SetAll(true).Set(0, false); peers[0].BitField.SetAll(true); peers[0].IsChoking = false; manager.AddPieceRequests(peers[0]); Assert.AreEqual(0, peers[0].AmRequestingPiecesCount, "#1"); Assert.AreEqual(0, peers[0].QueueLength, "#2"); }