public IEnumerable <T> EnumerableWithout <T>(T[] excluded, IInstanceGenerator instanceGenerator) { var result = new List <T> { instanceGenerator.OtherThan(excluded), instanceGenerator.OtherThan(excluded), instanceGenerator.OtherThan(excluded) }; return(result); }