@Test
public void testGetAttributes() throws Exception {

	// this stuff is very much hardcoded to work only for this specific field
	List<Attribute<?>> attributes = ((VectorLayerAssociationSupport) layer).getAttributes("manyToOneAttr", null);
	Assert.assertNotNull(attributes);
	Assert.assertEquals(2, attributes.size());
}