public void TestRepository() { var teams = new List<Team> { new Team("Tom", false, 1), new Team("Olive", false, 2) }; var repo = new MongoRepository<Team>(_db); foreach (var t in teams) { repo.Save(t); } var teamsRefresh = repo.QueryAll(); Assert.AreEqual(2 , teamsRefresh.Count()); }