### Question:
AvatarJob { @ConditionalOnProperty(value = "scheduling.enabled", havingValue = "true") @Scheduled(cron = "0 10 4 * * *") @Retryable public void gravatar() { gravatarService.chooseImage(); metricService.log(AvatarType.GRAVATAR); }  @ConditionalOnProperty(value = "scheduling.enabled", havingValue = "true") @Scheduled(cron = "0 0 4 * * *") @Retryable void bookmeter(); @ConditionalOnProperty(value = "scheduling.enabled", havingValue = "true") @Scheduled(cron = "0 10 4 * * *") @Retryable void gravatar(); @ConditionalOnProperty(value = "scheduling.enabled", havingValue = "true") @Scheduled(cron = "0 20 4 * * *") @Retryable void slack(); @ConditionalOnProperty(value = "scheduling.enabled", havingValue = "true") @Scheduled(cron = "0 30 4 * * *") @Retryable void twitter();  }### Answer:
@Test public void gravatarTest() { doNothing().when(gravatarService).chooseImage(); doNothing().when(metricService).log(AvatarType.GRAVATAR); avatarJob.gravatar(); verify(gravatarService).chooseImage(); verify(metricService).log(AvatarType.GRAVATAR); }