@Test
public void scalarMapToEmpty() {

    ObservableScalarXMap.scalarXMap(1, new Function<Integer, ObservableSource<Integer>>() {
        @Override
        public ObservableSource<Integer> apply(Integer v) throws Exception {
            return Observable.empty();
        }
    })
    .test()
    .assertResult();
}