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