@Test
public void doAction_successDryRun() throws PersistenceException, ReplicationException {

    when(context.isDryRun()).thenReturn(true);
    String result = action.doAction(resource);
    assertTrue(result.contains("Replicated page"));
    verify(replicator, never()).replicate(session, ReplicationActionType.ACTIVATE, "path");
}