100101102103104105106107108109110
expect(resources.triggerEvent(Submit.SELECTED_EVENT, null, null)).andReturn(false); replay(); heartbeat.end(); verify(); }
3233343536373839404142
// be "proven" by integration tests. hb.begin(); getMocksControl().times(3); hb.end(); getMocksControl().times(3); replay(); Loop loop = new Loop();
9899100101102103104105106107108
101102103104105106107108109110
expect(resources.triggerEvent(Submit.SELECTED_EVENT, null, null)).andReturn(false); replay(); heartbeat.end(); verify(); } }
354355356357358359360361362363364
catch (Exception ex) { throw new RuntimeException(ex); } heartbeat.end(); ValidationTracker tracker = _environment.peek(ValidationTracker.class); // Let the listeners peform any final validations
327328329330331332333334335336337
350351352353354355356357358359360
4041424344454647484950
r1.run(); r2.run(); replay(); hb.end(); verify(); } @Test
7172737475767778798081
r3.run(); replay(); hb.end(); verify(); r1.run(); r2.run();
80818283848586878889
r1.run(); r2.run(); replay(); hb.end(); verify(); } }