### Question:
OrderProjections { @EventHandler public void onOrderStatusChanged(OrderStatusChanged event) { repository.updateStatus(event.getReference(), event.getStatus()); }  @EventHandler void onOrderPlaced(OrderPlaced event, @Timestamp Instant timestamp, ReplayStatus replayStatus); @EventHandler void onOrderStatusChanged(OrderStatusChanged event); @ResetHandler void reset();  }### Answer:
@Test public void shouldUpdateStatus() { projections.onOrderStatusChanged(new OrderStatusChanged("reference", Status.DISPATCHED)); verify(repository).updateStatus("reference", Status.DISPATCHED); }