public static void CheckFeature(ILicenseFeature feature, ILicenseFeature corresponding)
 {
     Assert.AreEqual(feature.AccessLevel, corresponding.AccessLevel);
     Assert.AreEqual(feature.Enabled, corresponding.Enabled);
     Assert.AreEqual(feature.Mandatory, corresponding.Mandatory);
     Assert.AreEqual(feature.Name, corresponding.Name);
 }
 public FeatureSerializationContainer(ILicenseFeature feature)
 {
     Name = feature.Name;
     AccessLevel = feature.AccessLevel;
     Mandatory = feature.Mandatory;
     Enabled = feature.Enabled;
 }
        private SimpleFeature CloneFeature(ILicenseFeature feature)
        {
            var ret = new SimpleFeature
                          {
                              AccessLevel = feature.AccessLevel,
                              Enabled = feature.Enabled,
                              Mandatory = feature.Enabled,
                              Name = feature.Name
                          };

            return ret;
        }