public void setUp() throws Exception {
sourceType=DataUtilities.createType("source", "*geom:LineString,geom2:Point,nAme:String"); //$NON-NLS-1$ //$NON-NLS-2$
sourceFeatures = new SimpleFeature[1];
GeometryFactory fac=new GeometryFactory();
Object[] values = new Object[]{builder.safeCreateGeometry(LineString.class, new Coordinate[]{new Coordinate(10,10), new Coordinate(20,10), new Coordinate(20,20)}),
fac.createPoint(new Coordinate(10,10)), "sourceName"};
sourceFeatures[0]=SimpleFeatureBuilder.build(sourceType, values,"id2"); //$NON-NLS-1$
sourceResource=CatalogTests.createGeoResource(sourceFeatures, true);
sourceMap=MapTests.createNonDynamicMapAndRenderer(sourceResource, new Dimension(100,100));
targetType=DataUtilities.createType("target", "*targetGeom:Point,name:String"); //$NON-NLS-1$ //$NON-NLS-2$