AMAttribute { public static Map<String, AMAttribute<?, ?>> getAllowedAMAttributes() { return _allowedAMAttributes; } AMAttribute(
		String name, Function<String, V> converterFunction,
		AMDistanceComparator<V> amDistanceComparator); static Map<String, AMAttribute<?, ?>> getAllowedAMAttributes(); static final AMAttribute<S, String> getConfigurationUuidAMAttribute(); static final AMAttribute<S, Long> getContentLengthAMAttribute(); static final AMAttribute<S, String> getContentTypeAMAttribute(); static final AMAttribute<S, String> getFileNameAMAttribute(); long compare(V value1, V value2); V convert(String value); long distance(V value1, V value2); String getName();  }
@Test public void testGetAllowedAMAttributes() { Collection<AMAttribute<?, ?>> amAttributes = Arrays.asList( AMAttribute.getConfigurationUuidAMAttribute(), AMAttribute.getContentLengthAMAttribute(), AMAttribute.getContentTypeAMAttribute(), AMAttribute.getFileNameAMAttribute()); Map<String, AMAttribute<?, ?>> allowedAMAttributesMap = AMAttribute.getAllowedAMAttributes(); Collection<AMAttribute<?, ?>> allowedAMAttributes = allowedAMAttributesMap.values(); Assert.assertTrue(allowedAMAttributes.containsAll(amAttributes)); }