@Test
public void testGetLatestPublishEvent() {

    final Optional<FDFlowEvent> publishEvent = flowManager.getLatestPublishFlowEvent("2");
    assertTrue(publishEvent.isPresent());
    assertEquals("4", publishEvent.get().getIdentifier());
}