### Question:
PlatformManager { void expirePlatformCachedRosters () { log.info("Cached containers have been manually expired"); getPlatforms().forEach(Platform::expireCachedRoster); } @Autowired  PlatformManager();   PlatformManager(Collection<Platform> platforms); Collection<Platform> getPlatforms(); Optional<Platform> getNextPlatformForExperiment(boolean force);  }### Answer:
@Test public void expirePlatformCachedRosters () { platformManager.expirePlatformCachedRosters(); for (Platform platform : platformCollection) { verify(platform, times(1)).expireCachedRoster(); } }