@Test
 public void testProcessCallsStepOnAgent() throws Exception {
   final ScheduledEvent event = tripStartEvent();
   context.checking(
       new Expectations() {
         {
           oneOf(agent).step();
         }
       });
   event.process();
 }
 @Test
 public void testTimeReturnsTimeConstructedWith() throws Exception {
   final ScheduledEvent event = tripStartEvent();
   assertThat(event.time(), is(time(42)));
 }