public void setThreadFactory(ThreadFactory threadFactory) {
        this.threadFactory = checkNotNull(threadFactory, "threadFactory");
    }
@Test
    public void test_setThreadFactory_whenNull() {
        ReactorBuilder builder = newBuilder();
        assertThrows(NullPointerException.class, () -> builder.setThreadFactory(null));
    }