@Test
public void testSplitLineStringByLineString() throws Exception {

    LineString lineA = (LineString) wKTReader.read("LINESTRING(0 0, 100 0)");
    LineString lineB = (LineString) wKTReader.read("LINESTRING(50 -50, 50 50)");
    assertTrue(GeometryEdit.splitLineStringWithLine(lineA, lineB).
            equals(wKTReader.read("MULTILINESTRING((0 0, 50 0), (50 0 , 100 0))")));       
}