in test-outofproc/Product.cs [43:59]
public static List<Product> GetNewProductsRandomized(int num, int cost)
{
var r = new Random();
var products = new List<Product>(num);
for (int i = 0; i < num; i++)
{
var product = new Product
{
ProductId = r.Next(1, num),
Cost = (int)Math.Round(r.NextDouble() * cost),
Name = "test"
};
products.Add(product);
}
return products;
}