public void ExtracPropertiesSensitivity_ExtractSensitivity_ShouldBeEquivilent(string actualValue, Sensitivity?expected) { var expectedSensitiveProperty = typeof(PersonMockData).GetProperty(actualValue); PropertiesMetadataPropertiesCache.ExtractSensitivity(expectedSensitiveProperty).ShouldBe(expected); }
public void ExtracFieldsSensitivity_ExtractSensitivity_ShouldBeEquivilent(string actualValue, Sensitivity?expected) { var field = typeof(PersonMockData).GetField(actualValue); PropertiesMetadataPropertiesCache.ExtractSensitivity(field).ShouldBe(expected); }