@Test
public void testGetAllAttributesByType() {

	Map<AttributeType,Collection<Attribute>> attrsbytype = this.container.getAllAttributesByType();
	assertNotNull(attrsbytype);
	assertEquals(5, attrsbytype.size());
	
	Collection<Attribute> attrs;
	
	attrs = attrsbytype.get(AttributeType.BOOLEAN);
	assertNotNull(attrs);
	assertEquals(1, attrs.size());
	assertEpsilonEquals(Arrays.asList(
			makeUninitialized("A", AttributeType.BOOLEAN)  //$NON-NLS-1$
	), attrs);
	attrs = attrsbytype.get(AttributeType.DATE);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.INTEGER);
	assertNotNull(attrs);
	assertEquals(1, attrs.size());
	assertEpsilonEquals(Arrays.asList(
			new AttributeImpl("B", 1)  //$NON-NLS-1$
	), attrs);
	attrs = attrsbytype.get(AttributeType.OBJECT);
	assertNotNull(attrs);
	assertEquals(1, attrs.size());
	assertEpsilonEquals(Arrays.asList(
			makeUninitialized("E", AttributeType.OBJECT)  //$NON-NLS-1$
	), attrs);
	attrs = attrsbytype.get(AttributeType.POINT);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.POINT3D);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.POLYLINE);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.POLYLINE3D);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.REAL);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.STRING);
	assertNotNull(attrs);
	assertEquals(4, attrs.size());
	assertEpsilonEquals(Arrays.asList(
			makeUninitialized("D", AttributeType.STRING),  //$NON-NLS-1$
			makeUninitialized("Z1", AttributeType.STRING),  //$NON-NLS-1$
			makeUninitialized("Z2", AttributeType.STRING),  //$NON-NLS-1$
			makeUninitialized("Z3", AttributeType.STRING)  //$NON-NLS-1$
	), attrs);
	attrs = attrsbytype.get(AttributeType.TIMESTAMP);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.URI);
	assertNull(attrs);
	attrs = attrsbytype.get(AttributeType.URL);
	assertNotNull(attrs);
	assertEquals(1, attrs.size());
	assertEpsilonEquals(Arrays.asList(
			makeUninitialized("C", AttributeType.URL)  //$NON-NLS-1$
	), attrs);
	attrs = attrsbytype.get(AttributeType.UUID);
	assertNull(attrs);
}