@Test
public void testGetAttributeValue() {

	Map<String, Attribute<?>> attrs = new HashMap<String, Attribute<?>>();
	attrs.put("string", new StringAttribute("s1"));
	attrs.put("boolean", new BooleanAttribute(true));
	attrs.put("long", new LongAttribute(5L));
	AssociationValue value = new AssociationValue(new StringAttribute("1"), attrs, true);
	Assert.assertEquals("s1", value.getAttributeValue("string"));
	Assert.assertEquals(Boolean.TRUE, value.getAttributeValue("boolean"));
	Assert.assertEquals(new Long(5), value.getAttributeValue("long"));
	Assert.assertEquals(null, value.getAttributeValue("missing"));
}