public void setThreadAffinity(ThreadAffinity threadAffinity) {
        this.threadAffinity = threadAffinity;
    }
@Test
    public void test_setThreadAffinity() {
        ReactorBuilder builder = newBuilder();
        ThreadAffinity affinity = new ThreadAffinity("1-5");
        builder.setThreadAffinity(affinity);

        assertSame(affinity, builder.threadAffinity);
    }