EasyMock.expect(actionAgent.executeAction(
EasyMock.anyLong(),
EasyMock.<String>anyObject(),
EasyMock.<byte[]>anyObject(),
EasyMock.eq(clusterNode2.getAddress())
)).andReturn(new ActionAgentResult(true, null));
EasyMock.expect(actionAgent.executeAction(
EasyMock.anyLong(),
EasyMock.<String>anyObject(),
EasyMock.<byte[]>anyObject(),
EasyMock.eq(clusterNode1.getAddress())
)).andReturn(new ActionAgentResult(true, null));
control.replay();
AutomaticJobExecutionParameters jobExecutionParameters = new AutomaticJobExecutionParameters();
jobExecutionParameters.setScheduledTime(ChronometerUtils.parseMoment("2012-02-20 10:00:00.000 UTC"));