private void Should_throw_exception(BaseClassSameDiscriminator entity)
 {
     Assert.Throws <System.TypeInitializationException>(delegate
     {
         JsonConvert.SerializeObject(entity);
     });
 }
 public void AutoBaseClassSameDiscriminator(BaseClassSameDiscriminator entity)
 => Should_throw_exception(entity);