@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));
}