@Test public void testGetPresent() { long getTtl = _metadataRepo.getMetricTTL(AVAILABLE_ID); assertEquals("getMetricTTL returned value", AVAILABLE_TTL, getTtl); }
@Test(expected = IllegalArgumentException.class) public void testGetNotPreset() { UOID id = new UOID(); _metadataRepo.getMetricTTL(id); fail("Unexpected absence of IllegalArguemtnException"); }