@Test
public void testBuildUrl2() throws TmsLayerException {

	TmsLayer tmsLayer = new TmsLayer();
	tmsLayer.setBaseTmsUrl("classpath:/org/geomajas/layer/tms/tileMapCapa2.xml");
	TileMap tileMap = configurationService
			.getCapabilities(tmsLayer);
	TileMapUrlBuilder builder = new TileMapUrlBuilder(tileMap);
	String url = builder.buildUrl(new TileCode(1, 2, 3), BASE_TMS_URL);
	Assert.assertEquals("http://tms.osgeo.org/1.0.0/landsat2000/512/2/3.png", url);
}