@Test
public void bufferTest() throws GeomajasException {

	GeometryBufferRequest request = new GeometryBufferRequest();
	request.setGeometries(geometries);
	request.setBufferDistance(50);
	GeometryBufferResponse response = (GeometryBufferResponse) dispatcher.execute(
			GeometryBufferRequest.COMMAND, request, null, "en");
	List<Geometry> buffered = response.getGeometries();
	Assert.assertEquals(3, buffered.size());
	Assert.assertTrue(buffered.get(0).getGeometries()[0].getCoordinates().length > 4);
	Assert.assertTrue(buffered.get(1).getGeometries()[0].getCoordinates().length > 2);
	Assert.assertTrue(buffered.get(2).getGeometries()[0].getCoordinates().length > 1);
}