### Question:
JDBCSagaPersistence implements PersistentStore { @Override public void offer(final SagaEvent sagaEvent) { eventRepository.insert(sagaEvent); } JDBCSagaPersistence(final DataSource dataSource); void createTableIfNotExists(); @Override Map<String, List<EventEnvelope>> findPendingSagaEvents(); @Override void offer(final SagaEvent sagaEvent);  }### Answer:
@Test public void assertOffer() { SagaEvent sagaEvent = mock(SagaEvent.class); sagaPersistence.offer(sagaEvent); verify(eventRepository).insert(sagaEvent); }