public void RandomValueProvider_GetEnum_should_return_TEnum() { Enumerable.Range(1, 100).TestEach(_ => { StringComparison value = _provider.GetEnum <StringComparison>(); Console.WriteLine(value); Assert.IsInstanceOfType(value, typeof(StringComparison)); }); }