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

    this.action = new ReplicatePageAction(false, context);
    String result = action.doAction(resource);
    assertTrue(result.contains("Replicated page"));
    verify(replicator, times(1)).replicate(session, ReplicationActionType.DEACTIVATE, "path");
}