one (jobRuntime).getSavedStatus();
will(returnValue(JobStatus.EXECUTING));
one (jobRuntime).setDescription(null);
- one (jobRuntime).setStatus(JobStatus.RUNABLE);
+ one (jobRuntime).setStatus(JobStatus.RUNNABLE);
one (jobEngine).addToRunQueue(jobRuntime);
}});
}
@Test
- public void testProcessAction_SavedStatusRunable() throws Exception {
+ public void testProcessAction_SavedStatusRunnable() throws Exception {
// Fixture
final IJobStatusAction sut = new ResumeSuspendedAction();
context.checking(new Expectations() {{
one (jobRuntime).getSavedStatus();
- will(returnValue(JobStatus.RUNABLE));
+ will(returnValue(JobStatus.RUNNABLE));
one (jobRuntime).setDescription(null);
- one (jobRuntime).setStatus(JobStatus.RUNABLE);
+ one (jobRuntime).setStatus(JobStatus.RUNNABLE);
one (jobEngine).addToRunQueue(jobRuntime);
}});
one (jobRuntime).getSavedStatus();
will(returnValue(JobStatus.WAIT_EXECUTOR));
one (jobRuntime).setDescription(null);
- one (jobRuntime).setStatus(JobStatus.RUNABLE);
+ one (jobRuntime).setStatus(JobStatus.RUNNABLE);
one (jobEngine).addToRunQueue(jobRuntime);
}});