@Test
public void testWhileDo() {

    Observable<Integer> source1 = Observable.from(1, 2, 3);
    Observable<Integer> result = Statement.whileDo(source1, countdown(2));
    observe(result, 1, 2, 3, 1, 2, 3);
}