33343536373839
private Exception exception; @Before public void setUp() { exception = new Exception(); control = new ReplayState(new MocksBehavior(false)); }
167168169170171172173174175176
* if the mock object already is in replay state. */ public void replay() { try { state.replay(); state = new ReplayState(behavior); } catch (RuntimeException e) { throw (RuntimeException) e.fillInStackTrace(); } }