@Test
public void testSwitchesDockerRunner() throws Exception {

  when(runnerId.apply(runState)).thenReturn("id-1", "id-2");
  dockerRunner.start(runState, runSpec);
  dockerRunner.start(runState, runSpec);
  assertThatCreateCountersContains("id-1", "id-2");
}