public void ActiveDirectoryEntityMapperMetadataResolver_GetPropertiesToLoad_ValidAttributeNameMetadataResolverTestClass_ReturnsProperties() { string expected = "ldapAttribute"; ActiveDirectoryEntityMapperMetadataResolver resolver = new ActiveDirectoryEntityMapperMetadataResolver(); string[] properties = resolver.GetPropertiesToLoad <ValidAttributeNameMetadataResolverTestClass>(); CollectionAssert.Contains(properties, expected); }
public void ActiveDirectoryEntityMapperMetadataResolver_GetPropertiesToLoad_NoAttribute_ThrowsArgumentNullException() { ActiveDirectoryEntityMapperMetadataResolver resolver = new ActiveDirectoryEntityMapperMetadataResolver(); string[] properties = resolver.GetPropertiesToLoad <InvalidMetadataResolverTestClass>(); }