public void GetItemRandomly() { // Arrange var randList = new RandomList <int>(Enumerable.Range(0, 10)); // Act int item = randList.GetItemRandomly(); // Assert Assert.Contains(item, randList); }