### Question:
WmsMapElementGraphics2DHandler implements
    GenericElementGraphics2DHandler { @Override public boolean toExport(JRGenericPrintElement element) { return true; }  static WmsMapElementGraphics2DHandler getInstance(); @Override void exportElement(JRGraphics2DExporterContext context,
      JRGenericPrintElement element, Graphics2D grx, Offset offset); @Override boolean toExport(JRGenericPrintElement element);  }### Answer:
@Test public void testToExport() { assertTrue(handler.toExport(mock(JRGenericPrintElement.class))); }