public void TestNoDefaultConstructorClassMapConventionWithTestClassA()
 {
     var convention = new ImmutableTypeClassMapConvention();
     var classMap = new BsonClassMap<TestClassA>();
     convention.Apply(classMap);
     Assert.False(classMap.HasCreatorMaps);
 }
 public void TestNoDefaultConstructorClassMapConventionWithTestClassC()
 {
     var convention = new ImmutableTypeClassMapConvention();
     var classMap = new BsonClassMap<TestClassC>();
     convention.Apply(classMap);
     Assert.True(classMap.HasCreatorMaps);
     Assert.Equal(1, classMap.CreatorMaps.Count());
 }