@Test
public void testSessionInfoOnSave() {

    when(ioService.newOutputStream(any(org.uberfire.java.nio.file.Path.class),
                                   commentedOptionArgumentCaptor.capture())).thenReturn(outputStream);
    this.service = getServiceWithValidationOverride((tempFile) -> {
        //Do nothing; tests do not use a *real* XLS file
    });
    service.save(path,
                 inputstream,
                 sessionId,
                 comment);
    final InOrder inOrder = inOrder(ioService);
    inOrder.verify(ioService).startBatch(any());
    inOrder.verify(ioService).newOutputStream(any(), any());
    inOrder.verify(ioService).endBatch();
    assertCommentedOption();
}