### Question:
CommonBeans { @Bean public SchedulerService schedulerService(BeekeeperRepository beekeeperRepository) { return new UnreferencedHousekeepingPathSchedulerService(beekeeperRepository); }  @Bean EC2ContainerCredentialsProviderWrapper ec2ContainerCredentialsProviderWrapper(); @Bean HiveConf hiveConf(@Value("${metastore-uri}") String metastoreUri); @Bean CloseableMetaStoreClientFactory metaStoreClientFactory(); @Bean SchedulerService schedulerService(BeekeeperRepository beekeeperRepository);  }### Answer:
@Test void schedulerService() { SchedulerService schedulerService = new UnreferencedHousekeepingPathSchedulerService(repository); assertThat(schedulerService).isEqualToComparingFieldByField(commonBeans.schedulerService(repository)); }