public static class ApplicationConfigurationWithExplicitStackConfigurationAndMixedExpiryTime {
@Bean
public AmazonElastiCache amazonElastiCache() {
AmazonElastiCache amazonElastiCache = Mockito.mock(AmazonElastiCache.class);
int port = TestMemcacheServer.startServer();
<BUG>Mockito.when(amazonElastiCache.describeCacheClusters(new DescribeCacheClustersRequest().withCacheClusterId("firstCache"))).
thenReturn(new DescribeCacheClustersResult().withCacheClusters(new CacheCluster().</BUG>
withConfigurationEndpoint(new Endpoint().withAddress("localhost").withPort(port)).
withEngine("memcached")));
<BUG>Mockito.when(amazonElastiCache.describeCacheClusters(new DescribeCacheClustersRequest().withCacheClusterId("secondCache"))).
thenReturn(new DescribeCacheClustersResult().withCacheClusters(new CacheCluster().</BUG>
withConfigurationEndpoint(new Endpoint().withAddress("localhost").withPort(port)).

public static class ApplicationConfigurationWithExplicitStackConfigurationAndMixedExpiryTime {
@Bean
public AmazonElastiCache amazonElastiCache() {
AmazonElastiCache amazonElastiCache = Mockito.mock(AmazonElastiCache.class);
int port = TestMemcacheServer.startServer();
DescribeCacheClustersRequest firstCache = new DescribeCacheClustersRequest().withCacheClusterId("firstCache");
firstCache.setShowCacheNodeInfo(true);
Mockito.when(amazonElastiCache.describeCacheClusters(firstCache)).
thenReturn(new DescribeCacheClustersResult().withCacheClusters(new CacheCluster().
withConfigurationEndpoint(new Endpoint().withAddress("localhost").withPort(port)).
