@Test(expected = IllegalArgumentException.class)
public void shouldFailIfNoResources() {

  MessageUtil.emitResourceLimitReachedMessage(stateManager, RUNSTATE_WITH_STALE_MESSAGE, Collections.emptyList());
}