public void DicomToBson_EmptyPrivateElements_StoredAsBsonNull()
        {
            DicomDataset ds  = TranslationTestHelpers.BuildAllTypesNullDataset();
            BsonDocument doc = DicomTypeTranslaterReader.BuildBsonDocument(ds);

            Assert.AreEqual(ds.Count(), doc.Count());

            foreach (BsonElement element in doc)
            {
                BsonDocument asBsonDoc = element.Value.AsBsonDocument;
                Assert.NotNull(asBsonDoc);

                Assert.True(asBsonDoc.GetValue("val").IsBsonNull); // Private elements
            }
        }
        public void TestNullDataset()
        {
            DicomDataset ds = TranslationTestHelpers.BuildAllTypesNullDataset();

            VerifyJsonTripleTrip(ds);
        }
        public void BsonRoundTrip_EmptyPrivateElements_ConvertedCorrectly()
        {
            DicomDataset ds = TranslationTestHelpers.BuildAllTypesNullDataset();

            VerifyBsonTripleTrip(ds);
        }