while( iter.hasNext() ){
SimpleFeature feature=iter.next();
if( feature.getID().equals("new0") ){ //$NON-NLS-1$
List<Coordinate> coords = Arrays.asList(((Geometry) feature.getDefaultGeometry()).getCoordinates());
assertEquals(10, coords.size());
assertTrue(coords.contains( bb.toCoord(Point.valueOf(25,0)) ) );
assertTrue(coords.contains(new Coordinate(35.5,0.5)) );
assertTrue(coords.contains(new Coordinate(35.5,20)) );
assertTrue(coords.contains(new Coordinate(25.5,20)) );
assertTrue(coords.contains(new Coordinate(25.5,40) ) );
assertTrue(coords.contains(new Coordinate(35.5,40)) );