### Question:
MemcachedUtil { static int toMemcachedExpiration(final int expirationInSeconds) { return expirationInSeconds <= THIRTY_DAYS ? expirationInSeconds : (int)(System.currentTimeMillis() / 1000) + expirationInSeconds; }    }### Answer:
@Test public void testToMemcachedExpiration() throws Exception { assertEquals(toMemcachedExpiration(60*60*24*30), 60*60*24*30); assertEquals(toMemcachedExpiration(60*60*24*30 + 1), System.currentTimeMillis()/1000 + 60*60*24*30 + 1); }