public void MongoCreateReadTests() { string testingData = Guid.NewGuid().ToString(); var data = new itemTag { Href = testingData, Name = testingData }; db.InsertSourceToDatabase(collection, data); var sources = db.returnAllSources <itemTag>(collection); Assert.Equal(data.Name, sources.Find(x => x.Name.Equals(data.Name)).Name); }