public void MongoContentCollectionContainsTest()
        {
            var collection = new MongoContentCollection <TestContentType>();
            var probe      = TestContentType.getARandomTestContentType(enforce_a_reference: false);

            Assert.IsFalse(collection.Contains(probe));
            collection.Add(probe);
            Assert.IsTrue(collection.Contains(probe));
        }
        public void MongoContentCollectionAddTest()
        {
            var collection = new MongoContentCollection <TestContentType>();

            collection.Clear();
            var probe = TestContentType.getARandomTestContentType(enforce_a_reference: false);

            collection.Add(probe);
            Assert.IsFalse(collection.isEmpty);
        }
        public void MongoContentCollectionGetContentTest()
        {
            var collection = new MongoContentCollection <TestContentType>();
            var probe      = TestContentType.getARandomTestContentType(enforce_a_reference: false);

            collection.Add(probe);
            var back_from_collection = collection.GetContent(probe.guid);

            Assert.IsTrue(back_from_collection.samePropertiesValue(probe));
        }