assertThat(ci.mayExecute("foo1", tw1), equalTo(true));
assertThat(ci.mayExecute("foo2", tw2), equalTo(true));
assertThat(ci.mayExecute("foo3", tw3), equalTo(true));
assertThat(ci.mayExecute("foo4", tw4), equalTo(true));
assertThat(ci.mayExecute("foo5", tw5), equalTo(true));
// give time to executor to start them
Thread.sleep(1000);
assertThat(ci.hasRunningWithKey("foo1"), is(true));