@Test
public void executeWithWith() throws XMLSemanticError {

    when(x.getWith()).thenReturn(Optional.of(JULIET));
    ArchivedMessages archivedMessages = mock(ArchivedMessages.class);
    when(archive.fetchSortedByOldestFirst(any(), any())).thenReturn(archivedMessages);
    assertEquals(archivedMessages, tested.execute());
}