@Test
public void testFunc6() {

    Func6<Integer, Integer, Integer, Integer, Integer, Integer, Integer> func = new Func6<Integer, Integer, Integer, Integer, Integer, Integer, Integer>() {
        @Override
        public Integer call(Integer t1, Integer t2, Integer t3, Integer t4, Integer t5, Integer t6) {
            return t1 | t2 | t3 | t4 | t5 | t6;
        }
    };
    Async.toAsync(func, Schedulers.immediate())
            .call(1, 2, 4, 8, 16, 32)
            .subscribe(new TestObserver<Object>(observer));
    verify(observer, never()).onError(any(Throwable.class));
    verify(observer, times(1)).onNext(63);
    verify(observer, times(1)).onCompleted();
}