@Test
public void shouldConsumeResource() {

  assertTrue(StateUtil.isConsumingResources(RunState.State.PREPARE));
  assertTrue(StateUtil.isConsumingResources(RunState.State.SUBMITTING));
  assertTrue(StateUtil.isConsumingResources(RunState.State.SUBMITTED));
  assertTrue(StateUtil.isConsumingResources(RunState.State.RUNNING));
}