@Test
public void readGISElementContainerElementGISElementContainerPathBuilderXMLResources() throws Exception {

	PathBuilder pathBuilder = new SimplePathBuilder();
	XMLResources res = new XMLResources(pathBuilder);
	DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
	DocumentBuilder builder = factory.newDocumentBuilder();
	Document doc;
	try (InputStream is = url2.openStream()) {
		doc = builder.parse(is);
	}
	ArrayMapElementLayer<MapPoint> container = new ArrayMapElementLayer(MapPoint.class);
	XMLGISElementUtil.readGISElementContainer(doc.getDocumentElement(), container, pathBuilder, res);
	MapPoint point1 = container.getMapElementAt(0);
	assertNotNull(point1);
	assertEquals("name1", point1.getName()); //$NON-NLS-1$
	assertEpsilonEquals(3, point1.getX());
	assertEpsilonEquals(4, point1.getY());
	MapPoint point2 = container.getMapElementAt(1);
	assertNotNull(point2);
	assertEquals("name2", point2.getName()); //$NON-NLS-1$
	assertEpsilonEquals(34, point2.getX());
	assertEpsilonEquals(55, point2.getY());
}