RunnerTerminator { boolean isActive() { return !runFinished; }    }
@Test public void isActive() { RunnerTerminator tested = new RunnerTerminator(); assertThat(tested.isActive(), is(true)); tested.finish(); assertThat(tested.isActive(), is(false)); }