@Test
public void shouldNotConsumeResource() {

  assertFalse(StateUtil.isConsumingResources(RunState.State.NEW));
  assertFalse(StateUtil.isConsumingResources(RunState.State.QUEUED));
  assertFalse(StateUtil.isConsumingResources(RunState.State.TERMINATED));
  assertFalse(StateUtil.isConsumingResources(RunState.State.FAILED));
  assertFalse(StateUtil.isConsumingResources(RunState.State.ERROR));
  assertFalse(StateUtil.isConsumingResources(RunState.State.DONE));
}