@Test public void create() { CancellableCountDownLatch countDownLatch = new CancellableCountDownLatchFactory().create(10); assertThat(countDownLatch).isNotNull(); assertThat(countDownLatch.getCount()).isEqualTo(10); }
public CancellableCountDownLatch create(int count) { return new CancellableCountDownLatch(count); }
CancellableCountDownLatchFactory { public CancellableCountDownLatch create(int count) { return new CancellableCountDownLatch(count); } }
CancellableCountDownLatchFactory { public CancellableCountDownLatch create(int count) { return new CancellableCountDownLatch(count); }  }
CancellableCountDownLatchFactory { public CancellableCountDownLatch create(int count) { return new CancellableCountDownLatch(count); }  CancellableCountDownLatch create(int count); }
CancellableCountDownLatchFactory { public CancellableCountDownLatch create(int count) { return new CancellableCountDownLatch(count); }  CancellableCountDownLatch create(int count);  }