### Question:
SchedulerApiary { public void close() throws IOException { beekeeperEventReader.close(); } @Autowired  SchedulerApiary(
      BeekeeperEventReader beekeeperEventReader,
      EnumMap<LifecycleEventType, SchedulerService> schedulerServiceMap
  ); @Transactional void scheduleBeekeeperEvent(); void close();  }### Answer:
@Test public void typicalClose() throws Exception { scheduler.close(); verify(beekeeperEventReader, times(1)).close(); }