title: How do I test an effect that returns multiple actions
body: <p>I have an effect that returns action A then action B </p>
  
  <pre><code>@Effect() myEffect$: Observable &lt;Action&gt; = this.actions$
    .ofType('MY_ACTION')
    .switchMap(() =&gt; Observable.of(
      // subscribers will be notified
      { type: 'ACTION_ONE' },
      // subscribers will be notified (again ...)
      { type: 'ACTION_TWO' }
    ));
  </code></pre>
  
  <p>How can I test the two successive returned actions ? </p>
  
  <pre><code>it('should return action one then action two', () =&gt; {
    runner.queue(new myAction());
    const expectedResult = twoSuccesiveActions;
    sessionEffect.myEffect$.subscribe(result =&gt; {
      // how do I test those two succesively returned actions
      expect(result).toEqual(expectedResult);
    });
  });
  </code></pre>