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