assertEquals(ConnectionValidator.DEFAULT_PING_PERIOD, pingPeriod);
// Test timeout.
field = ConnectionValidator.class.getDeclaredField("clientInvoker");
field.setAccessible(true);
AbstractInvoker invoker = (AbstractInvoker) field.get(validator);
field = AbstractInvoker.class.getDeclaredField("configuration");
field.setAccessible(true);
Map config = (Map) field.get(invoker);
Object o = config.get(ServerInvoker.TIMEOUT);
assertEquals(ConnectionValidator.DEFAULT_PING_TIMEOUT, o);