public void SequenceGeneratorProducesVariationsWithoutRepetitionForMemebers() { var values = new []{1, 2}; var sut = new SequenceGenerator(); var actual = sut.GenerateMembers(values, 2); Assert.IsNotNull(actual); Assert.AreEqual(2, actual.Count()); CollectionAssert.AreEquivalent(new []{1,2}, actual.ToList()[0].ToArray()); CollectionAssert.AreEquivalent(new []{2,1}, actual.ToList()[1].ToArray()); }