public void ProvideEmptyQueryableObjects() { var provider = new EmptyDefaultValueProvider(); var value = provider.ProvideDefault(typeof(IFoo).GetProperty("QueryableObjects").GetGetMethod()); Assert.IsAssignableFrom <IQueryable>(value); Assert.Equal(0, ((IQueryable)value).Cast <object>().Count()); }