assertEquals( "Intersection with linear ring does not create points.", "MultiPoint", testObj.generateIntersections( example1 ).getGeometryType() );
System.out.println( " -- Corner of Polygon" );
testObj.setShape( polygon );
System.out.println( testObj.generateIntersections( example1 ) );
System.out.println( testObj.generateIntersections( example1 ).getNumGeometries() );
System.out.println( testObj.generateIntersections( example1 ).getGeometryN( 0 ) );
System.out.println( testObj.generateIntersections( example1 ).getGeometryN( 0 ).getNumGeometries() );
System.out.println( testObj.generateIntersections( example1 ).getGeometryN( 0 ).getGeometryN( 0 ) );
assertEquals( "Intersection with polygon does not create points.", "MultiPoint", testObj.generateIntersections( example1 ).getGeometryType() );