@VisibleForTesting
  long getDelayMs() {
    return delayMs;
  }
@Test
  public void create_instance_with_specified_delay() {
    long delayMs = new Random().nextLong();
    AbstractStopRequestWatcher underTest = new AbstractStopRequestWatcher(threadName, booleanSupplier, stopAction, delayMs) {

    };

    assertThat(underTest.getDelayMs()).isEqualTo(delayMs);
  }