public void ShouldRandomizeListForRandomList() { // arrange var randomList = new RandomList("Characters", new List <string> { "Bert", "Ernie", "Romeo", "Juliet" }); var listCollection = new List <List <string> > { randomList.ItemsRandomized }; // act for (var randomizations = 1; randomizations < 11; randomizations++) { randomList.RandomizeList(); listCollection.Add(randomList.ItemsRandomized); } // assert var testItemPositions = listCollection.Select(l => l.IndexOf("Bert")).ToList(); // assumes multiple randomizes are highly unlikely to be the same every time testItemPositions.Sort(); testItemPositions[0].Should().NotBe(testItemPositions[testItemPositions.Count - 1]); }