### Question:
PromiseCombiner { @Deprecated public void addAll(Promise... promises) { addAll((Future[]) promises); } @Deprecated  PromiseCombiner();  PromiseCombiner(EventExecutor executor); @Deprecated void add(Promise promise); @SuppressWarnings({ "unchecked", "rawtypes" }) void add(Future future); @Deprecated void addAll(Promise... promises); @SuppressWarnings({ "unchecked", "rawtypes" }) void addAll(Future... futures); void finish(Promise<Void> aggregatePromise);  }### Answer:
@Test(expected = NullPointerException.class) public void testAddAllNullPromise() { combiner.addAll(null); }