@Test(expected = PersistenceException.class)
public void doAction_replicatorException() throws PersistenceException, ReplicationException, AecuException {

    doThrow(ReplicationException.class).when(replicator).replicate(session, ReplicationActionType.ACTIVATE, PATH);
    action.doAction(resource);
}