public void Allows_serialization_of_21_types()
        {
            LicenseHelper.RegisterLicense();

            Serialize20();
            Serialize20();
            Deserialize20();
            Deserialize20();

            new T21().ToJson();
            "{\"Id\":1}".FromJson <T21>();
        }
Пример #2
0
 public void Can_register_valid_license()
 {
     LicenseHelper.RegisterLicense();
     Assert.That(LicenseUtils.ActivatedLicenseFeatures(), Is.EqualTo(LicenseFeature.All));
 }
 public void TearDown()
 {
     LicenseHelper.RegisterLicense();
 }