@Test
public void testGetRawConnectionWithExternalAuth() throws SQLException, InterruptedException, IllegalArgumentException, IllegalAccessException, SecurityException, NoSuchFieldException {

	testClass.config = mockConfig;
	expect(mockConfig.isExternalAuth()).andReturn(true).once();
	expect(mockConfig.getDatasourceBean()).andReturn(null).once();
	expect(mockConfig.getJdbcUrl()).andReturn(CommonTestUtils.url).once();
	
	replay(mockConfig);
	assertNotNull(testClass.obtainRawInternalConnection());
	verify(mockConfig);
	// coverage
	reset(mockConfig);
	expect(mockConfig.isExternalAuth()).andReturn(false).once();
	expect(mockConfig.getDriverProperties()).andReturn(new Properties()).once();
	expect(mockConfig.getDatasourceBean()).andReturn(null).once();
	expect(mockConfig.getJdbcUrl()).andReturn(CommonTestUtils.url).once();
	replay(mockConfig);
	assertNotNull(testClass.obtainRawInternalConnection());
	verify(mockConfig);
	
}