@Test
public void testUnregisterDriver() {

	expect(mockConfig.isDeregisterDriverOnClose()).andReturn(true).anyTimes();
	expect(mockConfig.getJdbcUrl()).andReturn("jdbc:mock").anyTimes();
	replay(mockConfig);
	try {
		Assert.assertNotNull(DriverManager.getDriver("jdbc:mock"));
	} catch (SQLException e1) {
		fail("SQLException thrown");
	}
	testClass.unregisterDriver();
	
	testClass.unregisterDriver(); // should log a message (nothing to unregister)
}