title: jMock - allowing() a call multiple times with different results
body: <p>I want to call <code>allowing()</code> several times and provide different results. But I'm finding that the first <code>allowing()</code> specification absorbs all the calls and I can't change the return value. </p>
  
  <pre><code>@Test
  public void example() {
      timeNow(100);
      // do something
  
      timeNow(105);
      // do something else
  }
  
  private void timeNow(final long timeNow) {
      context.checking(new Expectations() {{
          allowing(clock).timeNow(); will(returnValue(timeNow));
      }});
  }
  </code></pre>
  
  <p>If I change <code>allowing(clock)</code> to <code>oneOf(clock)</code> it works fine. But ideally I want to use <code>allowing()</code> and not over-specify that the clock is called only once. Is there any way to do it?</p>