public void SimpleEntityToBSon() { var ent = new myEntity() { Property1 = 1, Property2 = 56.09, Property3 = "testtest" }; ent.ToBSon(); }
public void SimpleEntityToBSonSerialized() { var ent = new myEntity() { Property1 = 1, Property2 = 56.09, Property3 = "testtest" }; var rr = ent.ToBSon().Serialize(); Assert.AreEqual(true, rr.Length > 0); }