assertEquals(1, endpoints.size());
final Optional<RemoteRpcEndpoint> maybeEndpoint = endpoints.get(address);
assertNotNull(maybeEndpoint);
assertTrue(maybeEndpoint.isPresent());
assertEquals(1, endpoints.size());
final Optional<RemoteRpcEndpoint> maybeEndpoint = endpoints.get(address);
assertNotNull(maybeEndpoint);
assertTrue(maybeEndpoint.isPresent());