### Question:
ExportToSvgSessionCommand extends AbstractExportSessionCommand { @Override protected void export(final String fileName) { canvasFileExport.exportToSvg(getSession().getCanvasHandler(), fileName); } protected  ExportToSvgSessionCommand(); @Inject  ExportToSvgSessionCommand(final CanvasFileExport canvasFileExport);   }### Answer:
@Test public void testExport() { tested.execute(callback); verify(canvasFileExport, times(1)).exportToSvg(eq(canvasHandler), eq(FILE_NAME)); verify(canvasFileExport, never()).exportToJpg(any(AbstractCanvasHandler.class), anyString()); verify(canvasFileExport, never()).exportToPdf(any(AbstractCanvasHandler.class), anyString()); verify(canvasFileExport, never()).exportToPng(any(AbstractCanvasHandler.class), anyString()); }