public void MongoRepository_Generate_Query_With_AllowDiskSave()
        {
            const string connectionString = "mongodb://127.0.0.1/test";

            if (!MongoDbRepositoryManager.ServerIsRunning(connectionString))
            {
                AssertIgnores.MongoServerIsNotRunning();
            }

            var repo = new MongoDbRepository <Order, string>(connectionString);

            // Create
            var create = new Order {
                Name = "Big sale"
            };

            repo.Add(create);

            var fetchStrategy = new MongoDbFetchStrategy <Order>
            {
                AllowDiskUse = true
            };

            // Read
            var read = repo.Get(create.OrderId, fetchStrategy);

            read.Name.ShouldBe(create.Name);

            var all  = repo.GetAll(fetchStrategy);
            var all2 = repo.AsQueryable(fetchStrategy);
        }