public void AsGenericEnumerable_returns_generic_for_normal_enumerable() { IEnumerable data = new ArrayList { 1 }; Assert.IsAssignableFrom(typeof(IEnumerable<int>), data.AsGenericEnumerable()); }