@Test
@FixFor( "MODE-2019" )
public void shouldProvideFilteredEventJournal() throws Exception {

    // add node
    Node node1 = getRoot().addNode("node1");
    getRoot().addNode("node2");
    Node node3 = getRoot().addNode("node3");
    session.save();
    Thread.sleep(200);
    EventJournal eventJournal = getObservationManager().getEventJournal(org.modeshape.jcr.api.observation.Event.ALL_EVENTS,
                                                                        null, true, new String[]{node1.getIdentifier(),
                                                                                                 node3.getIdentifier()},
                                                                        null);
    assertPathsInJournal(eventJournal, true,
                         "/testroot/node1", "/testroot/node1/jcr:primaryType",
                         "/testroot/node3", "/testroot/node3/jcr:primaryType");
}