@Test
public void updateEndpointExpiringTimeMissingEndpoint() throws Exception {
final int ttl = 95;
sl.updateTimetolive(SERVICE_NAME, ENDPOINTURL, ttl);
expectLastCall().andThrow(new EndpointNotFoundException());
replay(sl);
try {
lps.updateTimetolive(SERVICE_NAME.toString(), ENDPOINTURL, ttl);
fail();