ConnectionConfigurationImpl implements ConnectionConfiguration { @Override public boolean directConnectionRequired() { return this.directConnectionRequired; } ConnectionConfigurationImpl(final ConnectionDuration connectionDuration, final ServiceClass serviceClass,
            final boolean directConnectionRequired); @Override ConnectionDuration getConnectionDuration(); @Override ServiceClass getServiceClass(); @Override boolean directConnectionRequired();  }
@Test public void testRequiresDirectConnection() { assertEquals(this.requiresDirectConnection, this.configuration.directConnectionRequired()); }