@Test public void testGetExpirationMinutes() { long expected = 10L; long result = underTest.getExpirationMinutes(10600000L); Assert.assertEquals(result, expected); }
public long getExpirationMinutes(final long validityValue) { return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER; }
ExpirationTimeProvider { public long getExpirationMinutes(final long validityValue) { return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER; } }
ExpirationTimeProvider { public long getExpirationMinutes(final long validityValue) { return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER; }  }
ExpirationTimeProvider { public long getExpirationMinutes(final long validityValue) { return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER; }  long getExpirationMinutes(final long validityValue); long getExpirationSeconds(final long validityValue); }
ExpirationTimeProvider { public long getExpirationMinutes(final long validityValue) { return ((validityValue - currentDateProvider.getCurrentTimeInMillis()) / SECOND_DIVIDER) / MINUTE_DIVIDER; }  long getExpirationMinutes(final long validityValue); long getExpirationSeconds(final long validityValue);  }