assertTrue( sqlMetadataQueryExec.driverClassesToForceMeta.contains( className ) );
}
@Test
public void testDriverClassesToForceMetaTwoEntries() throws IOException {
ISystemConfig sysConfig = mock( ISystemConfig.class );
IConfiguration config = mock( IConfiguration.class );
String className = "test";
String className2 = "test2";
when( sysConfig.getConfiguration( SqlMetadataQueryExec.CONFIG_ID ) ).thenReturn( config );
Properties props = mock( Properties.class );
when( config.getProperties() ).thenReturn( props );
when( props.getProperty( eq( SqlMetadataQueryExec.FORCE_DB_META_CLASSES_PROP ), anyString() ) ).thenReturn(
" , " + className + " , " + className2 + " ,,, " );
SqlMetadataQueryExec sqlMetadataQueryExec = new SqlMetadataQueryExec( sysConfig );