public void TestCreateWithNominalTypeAndValue() { var wrapper = BsonDocumentWrapper.Create(typeof(C), _c); var expected = "{ \"X\" : 1 }"; Assert.AreEqual(expected, wrapper.ToJson()); }