@Test
public void testMergeList() {

    final Observable<String> o1 = Observable.create(new TestSynchronousObservable());
    final Observable<String> o2 = Observable.create(new TestSynchronousObservable());
    List<Observable<String>> listOfObservables = new ArrayList<Observable<String>>();
    listOfObservables.add(o1);
    listOfObservables.add(o2);
    Observable<String> m = Observable.create(mergeDelayError(listOfObservables));
    m.subscribe(stringObserver);
    verify(stringObserver, never()).onError(any(Throwable.class));
    verify(stringObserver, times(1)).onCompleted();
    verify(stringObserver, times(2)).onNext("hello");
}