AbstractCommonShapeFileWriter implements AutoCloseable { public ShapeElementType getElementType() { return this.elementType; } @SuppressWarnings("resource")  AbstractCommonShapeFileWriter(File shapeName, ShapeElementType elementType);  AbstractCommonShapeFileWriter(URL shapeName, ShapeElementType elementType);  AbstractCommonShapeFileWriter(OutputStream stream, ShapeElementType elementType);  AbstractCommonShapeFileWriter(WritableByteChannel channel, ShapeElementType elementType); ShapeElementType getElementType(); Progression getTaskProgression(); void setTaskProgression(Progression progressBar); @Override @SuppressWarnings("resource") void close(); final void write(E element); void write(Collection<? extends E> elements);  }
@Test public void testGetElementType() { assertEquals(ShapeElementType.POLYGON, this.writer.getElementType()); }