Date endDate = new Date(System.currentTimeMillis() + 86400000);
Date updated = new Date();
String subscriptionId = "test-subscription-1";
when(pool.getOwner()).thenReturn(owner);
when(pool.getProduct()).thenReturn(product);
<BUG>when(mockProductCurator.getPoolProvidedProductsCached(anyString())).thenReturn(provided);
</BUG>
when(pool.getQuantity()).thenReturn(quantity);
when(pool.getStartDate()).thenReturn(startDate);
when(pool.getEndDate()).thenReturn(endDate);

Date endDate = new Date(System.currentTimeMillis() + 86400000);
Date updated = new Date();
String subscriptionId = "test-subscription-1";
when(pool.getOwner()).thenReturn(owner);
when(pool.getProduct()).thenReturn(product);
when(mockProductCurator.getPoolProvidedProductsCached(any(Pool.class))).thenReturn(provided);
when(pool.getQuantity()).thenReturn(quantity);
when(pool.getStartDate()).thenReturn(startDate);
when(pool.getEndDate()).thenReturn(endDate);
